Type alias Nand<B1, B2>

Nand<B1, B2>: Not<And<B1, B2>>

Logical NAND between two boolean types B1 and B2.

Type Parameters

  • B1 extends boolean
  • B2 extends boolean

Example

Nand<true, false>; // true
Nand<true, true>; // false