Signature: not(value: bool) -> bool

Description: Returns the logical negation of a boolean.

Parameters

  • value (bool): The boolean to negate

Returns: bool

Example

let off = not(true)  // false