UNPKG

ponicode

Version:

Ponicode is a quick and easy AI-powered solution for Javascript unit testing.

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