Function isFalsy

  • Checks if a value is falsy.

    Parameters

    • val: unknown

      The value to check.

    Returns val is false

    Returns true if the value is falsy, otherwise false.