2 lines
145 B
TypeScript
Executable file
2 lines
145 B
TypeScript
Executable file
export declare function flatten<T>(items: T[][]): T[];
|
|
export declare function splitWhen<T>(items: T[], predicate: (item: T) => boolean): T[][];
|