@extra-iterable/for-each.min
    TypeScript icon, indicating that this package has built-in type declarations

    2.5.22 • Public • Published

    Calls a function for each value. 📦 😺 🏃 📼 🌔 📜 📰 📘

    This is part of package extra-iterable.

    This is browserified, minified version of @extra-iterable/for-each.
    It is exported as global variable iterable_forEach.
    CDN: unpkg, jsDelivr.


    iterable.forEach(x, fc);
    // x:  an iterable
    // fc: called function (v, i, x)
    const iterable = require("extra-iterable");
    
    var x = [1, 2, -3, -4];
    iterable.forEach(x, v => console.log(v));
    // 1
    // 2
    // -3
    // -4


    References

    Install

    npm i @extra-iterable/for-each.min

    DownloadsWeekly Downloads

    236

    Version

    2.5.22

    License

    MIT

    Unpacked Size

    4.72 kB

    Total Files

    7

    Last publish

    Collaborators

    • wolfram77