Helpful
    Preparing search index...

    Function isEmptyObject

    • Returns true if an object is empty, null, or undefined.

      Note that this is different than lodash's isEmpty method. Checking an empty array or empty string will result in false.

      Parameters

      • candidate: any

        The object to test.

      Returns candidate is {}

      True if candidate is the empty object or null. False otherwise.