Function isEmpty

  • Checks if value is empty. A value is considered empty unless it’s an arguments object, array, string, or jQuery-like collection with a length greater than 0 or an object with own enumerable properties.

    Parameters

    • value: unknown

      The value to inspect.

    Returns boolean