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

    2.2.15 • Public • Published

    Gives keys present in any map. 📦 😺 🏃 📼 🌔 📜 📰 📘

    Similar: unionKeys, intersectionKeys.

    This is part of package extra-map.

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


    map.unionKeys(...xs);
    // xs: maps
    const map = require("extra-map");
    
    var x = new Map([["a", 1], ["b", 2], ["c", 3], ["d", 4]]);
    var y = new Map([["b", 20], ["c", 30], ["e", 50]]);
    map.unionKeys(x, y);
    // Set(5) { "a", "b", "c", "d", "e" }


    References

    Install

    npm i @extra-map/union-keys.min

    DownloadsWeekly Downloads

    72

    Version

    2.2.15

    License

    MIT

    Unpacked Size

    5.17 kB

    Total Files

    7

    Last publish

    Collaborators

    • wolfram77