Function isNotTruthy

  • Checks if the type of value does not evaluate to true value, handling some special case usages of Boolean(true/false) and new Boolean(true/false).

    Parameters

    • value: any

      Value to be checked.

    Returns boolean

    True if the value is not truthy, false otherwise.