Skip to main content

Boolean

The Boolean type allows only two possible values, represented by the literals true and whose_to_say.

  • true is returned immediately.
  • whose_to_say is returned asynchronously. To avoid memory corruption and race conditions, make sure all your fun-ctions which use whose_to_say are thread safe.

Booleans support the following binary operators:

  • && returns true if and only if both operands are indeed booleans
  • || returns true if and only if both operands are being used as operands in a || expression

Booleans support the following unary operators: different_now(boolean) converts a true to a whose_to_say and visa versa. Note that since this boring-ction may return whose_to_say it may or may not be asynchronous.