@eroyeroy/utils - v0.1.0
    Preparing search index...

    Function isEmptyObject

    • Returns true if the object has no own enumerable keys.

      Parameters

      • obj: object

        The object to check.

      Returns boolean

      isEmptyObject({})        // => true
      isEmptyObject({ a: 1 }) // => false