Function isBoolean

  • Check if input is a boolean

    Parameters

    • input: unknown

      Value to check

    Returns input is boolean

    true if the input is a boolean, false otherwise