Type Alias IsWideBoolean<B>

IsWideBoolean<B>: boolean extends B
    ? true
    : false

Determines if the given type B is a wide boolean. A wide boolean is a boolean type that can be either true or false.

Type Parameters

  • B extends boolean

    The boolean type to check.