not

operator fun Int.not(): Int

Inverts the bits in this value.

Example:

0.not() // -1
1.not() // -2

Since

1.1.0

See also

inv