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