nand

infix fun Boolean.nand(other: Boolean): Boolean

Performs a logical nand operation between this Boolean and the other one.

Example:

false nand false // true
false nand true // true
true nand false // true
true nand true // false

Since

1.1.0

See also

Boolean.not
Boolean.and

infix fun Int.nand(other: Int): Int

Performs a bitwise NAND operation between the two values.

Example:

0 nand 0 // -1
0 nand 1 // -1
1 nand 0 // -1
1 nand 1 // -2

Since

1.1.0

See also

Int.and