mixlea-utils-js 0.1.91 → 0.1.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -142,10 +142,12 @@ export declare function arrayObjectFieldSame<T extends Record<string, any>>(inpu
142
142
  whenEmptyResult?: boolean;
143
143
  }): boolean;
144
144
 
145
- export declare function arrayObjectMultiSort(arr: Record<string, any>[], conditions: {
145
+ export declare function arrayObjectMultiSort<O extends Record<string, any>>(arr: O[], conditions: {
146
146
  prop: string;
147
147
  order?: 'asc' | 'desc';
148
- }[]): Record<string, any>[];
148
+ }[], opts?: {
149
+ keepLast?: (row: O) => boolean;
150
+ }): O[];
149
151
 
150
152
  export declare function arrayPickLast<T = any>(arr: T[]): T | null;
151
153
 
@@ -816,7 +818,7 @@ export declare function getCurrentDate(): Date;
816
818
 
817
819
  export declare function isEqual(x: any, y: any): boolean;
818
820
 
819
- export declare function isEqualZero(number: number, digits?: number): boolean;
821
+ export declare function isEqualZero(input: any, digits?: number): boolean;
820
822
 
821
823
  export declare function isEveryVoid(...items: any[]): boolean;
822
824
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mixlea-utils-js",
3
3
  "type": "module",
4
- "version": "0.1.91",
4
+ "version": "0.1.93",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
7
7
  "exports": {