Neanderthals Programming Machines

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

    2.2.10 • Public • Published

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

    Similar: unionKeys, intersectionKeys.

    This is part of package extra-lists.

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


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


    References

    Install

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

    DownloadsWeekly Downloads

    2

    Version

    2.2.10

    License

    MIT

    Unpacked Size

    5.47 kB

    Total Files

    7

    Last publish

    Collaborators

    • wolfram77