UNPKG

706 BTypeScriptView Raw
1import { FindOptions } from './findoptions';
2/**
3 * Determines whether any element of an iterable sequence satisfies a condition.
4 *
5 * @export
6 * @template T The type of the elements in the source sequence.
7 * @param {Iterable<T>} source An iterable sequence whose elements to apply the predicate to.
8 * @param {FindSubclassedOptions<T, S>} options The options which includes a required predicate, an optional
9 * thisArg for binding, and an abort signal for cancellation.
10 * @returns {boolean} Returns a boolean determining whether any elements in the source sequence
11 * pass the test in the specified predicate.
12 */
13export declare function some<T>(source: Iterable<T>, options: FindOptions<T>): boolean;