• Creates an array of the own enumerable property names of object.

    Differences from lodash:

    • does not give any special consideration for arguments objects, strings, or prototype objects (e.g. many will have 'length' in the returned array)

    Contribution to minified bundle size, when it is the only function imported:

    • Lodash: 3,866 bytes
    • Micro-dash: 165 bytes

    Type Parameters

    • T

    Parameters

    • object: Nil | T

    Returns StringifiedKey<T>[]