Skip to main content

~

Overloads

NameDescription
(~ bool value) -> integerPerforms a bitwise NOT operation.
(~ integer value) -> integerPerforms a bitwise NOT operation.

(~ bool value) -> integer

Performs a bitwise NOT operation.

Parameters

  • value: The number to negate.

Returns

The result of the bitwise NOT operation.

(~ integer value) -> integer

Performs a bitwise NOT operation.

Parameters

  • value: The number to negate.

Returns

The result of the bitwise NOT operation.