On this page:
boolean?
not
and
nand
or
nor
xor
nxor
8.12

4.1 Booleans🔗ℹ

procedure

(boolean? v)  boolean?

  v : any/c
Returns #true, if v is a Boolean value; #false, otherwise.

procedure

(not b)  boolean?

  b : boolean?
Returns the logical complement of b.

procedure

(and b ...)  boolean?

  b : boolean?
Returns the logical conjunction of the bs. In the special case of zero arguments, returns #true.

procedure

(nand b ...)  boolean?

  b : boolean?
Equivalent to (not (and b ...)).

procedure

(or b ...)  boolean?

  b : boolean?
Returns the logical inclusive disjunction of the bs. In the special case of zero arguments, returns #false.

procedure

(nor b ...)  boolean?

  b : boolean?
Equivalent to (not (or b ...)).

procedure

(xor b ...)  boolean?

  b : boolean?
Returns the logical exclusive disjunction of the bs. In the special case of zero arguments, returns #false.

procedure

(nxor b ...)  boolean?

  b : boolean?
Equivalent to (not (xor b ...)).