dist/iterable/operators.js
/** True if at least one item in a sequence matches the given predicate */
True if at least one item in a sequence matches the given predicate
True if at least one item in a sequence matches the given predicate
function some(predicate) {
    return it => {
        let i = 0;
        for (const item of it) {
            if (predicate(item, i)) {
                return true;
            }
            i = i + 1;
        }
        return false;
    };
}
function some ( predicate ) { return it => { let i = 0 ; for ( const item of it ) { if ( predicate ( item , i ) ) { return true ; } i = i + 1 ; } return false ; } ; }
True if at least one item in a sequence matches the given predicate
True if at least one item in a sequence matches the given predicate