UNPKG

@techmely/utils

Version:

Collection of helpful JavaScript / TypeScript utils

4 lines (2 loc) 143 B
declare function partition<T = any>(arr: T[], fn: (val: T, index: number, arr: T[]) => boolean): IterableIterator<any>; export { partition };