UNPKG

335 BTypeScriptView Raw
1import { IterableX } from './iterablex';
2export declare function partition<T, S extends T>(source: Iterable<T>, predicate: (value: T, index: number) => value is S, thisArg?: any): IterableX<S>[];
3export declare function partition<T>(source: Iterable<T>, predicate: (value: T, index: number) => boolean, thisArg?: any): IterableX<T>[];