3 lines
145 B
TypeScript
Raw Normal View History

2024-07-07 18:49:38 -07:00
export declare function flatten<T>(items: T[][]): T[];
export declare function splitWhen<T>(items: T[], predicate: (item: T) => boolean): T[][];