You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
592 B
10 lines
592 B
export declare const uniqueFn: typeof uniqueFilterFnGenerator; |
|
export declare function uniqueFilterFnGenerator<T>(): (v: T) => boolean; |
|
export declare function uniqueFilterFnGenerator<T, U>(extractFn: (v: T) => U): (v: T) => boolean; |
|
export declare function unique<T>(src: T[]): T[]; |
|
export declare function clean<T>(src: T): T; |
|
/** |
|
* Creates a scan function that can be used in a map function. |
|
*/ |
|
export declare function scanMap<T>(accFn: (acc: T, value: T) => T, init?: T): (value: T) => T; |
|
export declare function scanMap<T, U>(accFn: (acc: U, value: T) => U, init: U): (value: T) => U;
|
|
|