iterable-all

    0.1.6 • Public • Published

    iterable-all

    NOTE: iterable-all was renamed to @extra-iterable/all. NPM

    Check if all values in iterable are truthy, like all().

    var all = require('iterable-all');
    // all(<iterable>, [begin=0], [end])
     
    all(new Set([0, -1, 4, 4]));
    // false
    all(new Set([0, -1, 4, 4]), 1);
    // true
    all([0, -1, 4, 4, ''], 1, 4);
    // true

    Keywords

    Install

    npm i iterable-all

    DownloadsWeekly Downloads

    0

    Version

    0.1.6

    License

    MIT

    Unpacked Size

    1.48 kB

    Total Files

    3

    Last publish

    Collaborators

    • wolfram77