Function isBoolean

Check if the value is a boolean

  • Parameters

    • val: unknown

      Value to check

    Returns val is boolean

    Whether the value is a boolean