• 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.

    Type Parameters

    • T extends { __trapAny: any }

    Parameters

    • Optionalvalue: T

      The value to inspect.

    Returns boolean

    Returns true if value is empty, else false.

  • Parameters

    • value: string

    Returns value is ""

  • Parameters

    • value: undefined | null | List<any> | Map<any, any> | Set<any>

    Returns boolean

  • Parameters

    • value: object

    Returns boolean

  • Type Parameters

    • T extends object

    Parameters

    • value: undefined | null | T

    Returns value is undefined | null | EmptyObjectOf<T>

  • Parameters

    • Optionalvalue: any

    Returns boolean