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