@extra-set/map.min
    TypeScript icon, indicating that this package has built-in type declarations

    2.2.11 • Public • Published

    Updates values based on map function. 📦 😺 🏃 📼 🌔 📜 📰 📘

    Alternatives: map, map$.
    Similar: map, reduce, filter, filterAt, reject, rejectAt.

    This is part of package extra-set.

    This is browserified, minified version of @extra-set/map.
    It is exported as global variable set_map.
    CDN: unpkg, jsDelivr.


    set.map(x, ft);
    // x:  a set
    // ft: map function (v, v, x)
    const set = require("extra-set");
    
    var x = new Set([1, 2, 3, 4]);
    set.map(x, v => v * 2);
    // Set(4) { 2, 4, 6, 8 }


    References

    Keywords

    Install

    npm i @extra-set/map.min

    DownloadsWeekly Downloads

    1

    Version

    2.2.11

    License

    MIT

    Unpacked Size

    5.24 kB

    Total Files

    7

    Last publish

    Collaborators

    • wolfram77