• Checks if value is an empty object or collection.

    Objects are considered empty if they have no own enumerable string keyed properties.

    Arrays are considered empty if they have a length of 0.

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

    • Lodash: 4,945 bytes
    • Micro-dash: 129 bytes

    Parameters

    • value: any

    Returns boolean