Type alias Or<B1, B2>

Or<B1, B2>: If<B1, true, If<B2, true, false>>

Logical OR between two boolean types B1 and B2.

Type Parameters

  • B1 extends boolean
  • B2 extends boolean

Example

Or<true, false>; // true
Or<false, false>; // false