Function unknownToBooleanOrFalse

  • Checks if the input is a boolean.

    Returns

    Returns the input as a boolean or undefined.

    Parameters

    • input: unknown

      The input to be checked.

    Returns boolean

Generated using TypeDoc