@unction/keys
TypeScript icon, indicating that this package has built-in type declarations

10.13.0 • Public • Published

@unction/keys

Tests Stability Dependencies

Array | Set | Record<string | number | symbol, B> | Map<B, A> | string => Array

Takes a keyed iterable and returns the keys as an Array.

keys({aaa: "111", bbb: "222"}) // ["aaa", "bbb"]
keys(["111", "222"]) // [0, 1]

/@unction/keys/

    Package Sidebar

    Install

    npm i @unction/keys

    Weekly Downloads

    0

    Version

    10.13.0

    License

    SEE LICENSE IN LICENSE

    Unpacked Size

    15.4 kB

    Total Files

    7

    Last publish

    Collaborators

    • krainboltgreene