UNPKG

@reactivex/ix-esnext-esm

Version:

The Interactive Extensions for JavaScript

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