Bool
:= [False, True]
Returns Bool.False when given Bool.True, and vice versa. This is
equivalent to the logic NOT
gate. The operator ! can also be used as shorthand for Bool.not.
expect Bool.not(Bool.False) == Bool.True
expect !Bool.False == Bool.TrueReturns Bool.True if the two booleans are the same, and Bool.False if they are different.
Feed a boolean into a Hasher.
Encode a bool using a format that provides encode_bool
decode : src, fmt -> (Try(Bool, err), src) where [fmt.decode_bool : fmt, src -> (Try(Bool, err), src)]Decode a bool using a format that provides decode_bool