dist/iterable/operators.js
/** Take only the first item in an iterable sequence */
Take only the first item in an iterable sequence
Take only the first item in an iterable sequence
function first(iterable) {
    for (const item of iterable) {
        return item;
    }
    return undefined;
}
function first ( iterable ) { for ( const item of iterable ) { return item ; } return undefined ; }
Take only the first item in an iterable sequence
Take only the first item in an iterable sequence