• Creates an array of own enumerable string keyed-value pairs for object which can be consumed by fromPairs.

    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: 5,791 bytes
    • Micro-dash: 207 bytes

    Type Parameters

    • T

    Parameters

    • object: T

    Returns [StringifiedKey<T>, T[keyof T]][]

Generated using TypeDoc