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