core3-utils

@wixc3/common on Github

Home > @wixc3/common > some

some() function

Signature:

export declare function some<T>(iterable: Nullable<Iterable<T>>, predicate: Predicate<T>): boolean;

Parameters

Parameter Type Description
iterable [Nullable](/core3-utils/common.nullable.html)<Iterable<T>>
predicate [Predicate](/core3-utils/common.predicate.html)<T>

Returns:

boolean

there is an element satisfies the predicate