Skip to content
Jan Špaček edited this page Apr 12, 2016 · 1 revision

Module std.bool is a very small module:

  • (not x) returns true when x is false, otherwise it returns false.
  • (xor a b) returns true if exactly one of a and b is true, otherwise returns false.

It also reexports true and false from module std.core.