nor

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

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

Example:

false nor false // true
false nor true // false
true nor false // false
true nor true // false

Since

1.1.0

See also

Boolean.not
Boolean.or

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

Performs a bitwise NOR operation between the two values.

Example:

0 nor 0 // -1
0 nor 1 // -2
1 nor 0 // -2
1 nor 1 // -2

Since

1.1.0

See also

Int.or