Function notEmpty

  • Returns true if the value is not empty.

    Type Parameters

    • TValue

    Parameters

    • value: undefined | null | TValue

    Returns value is TValue

    Example

    notEmpty(42) === true
    notEmpty(0) === true
    notEmpty(undefined) === false
    notEmpty(null) === false
    notEmpty(NaN) === false

Generated using TypeDoc