JS Utils Kit - v0.5.1
    Preparing search index...

    Function isEmptyObject

    • Checks if a value is an empty object (has no enumerable own properties).

      Parameters

      • value: object

        The value to check.

      Returns boolean

      True if the value is a non-null object with no enumerable own properties, false otherwise.

      isEmptyObject({}); // true
      isEmptyObject({ key: 'value' }); // false
      isEmptyObject(null); // false
      isEmptyObject([]); // false