True and false booleans are represented by the values #t and #f, respectively, though operations that depend on a boolean value typically treat anything other than #f as true. The #t value is always eq? to itself, and #f is always eq? to itself.
See Reading Booleans for information on read ing booleans and Printing Booleans for information on print ing booleans.
See also and , or , andmap , and ormap .
procedure
(immutable? v)→boolean?
v:any/c
Note that immutable? is not a general predicate for immutability (despite its name). It works only for a handful of datatypes for which a single predicate—string? , vector? , etc.—recognizes both mutable and immutable variants of the datatype. In particular, immutable? produces #f for a pair, even though pairs are immutable, since pair? implies immutability.
See also immutable-string? , mutable-string? , etc.
#f
#t
#f
#t
#f
#t
#f
syntax
( nand expr...)
syntax
( nor expr...)
In the two argument case, returns #t if neither of the arguments is a true value.
syntax
( implies expr1expr2)
Same as (if expr1expr2#t).
#t
#t
#f
#t
If exactly one of b1 and b2 is not #f, then return it. Otherwise, returns #f.
Added in version 8.9.0.3 of package base.
procedure
( mutable-string? v)→boolean?
v:any/cprocedure
v:any/cprocedure
( mutable-bytes? v)→boolean?
v:any/cprocedure
( immutable-bytes? v)→boolean?
v:any/cprocedure
( mutable-vector? v)→boolean?
v:any/cprocedure
v:any/cprocedure
( mutable-box? v)→boolean?
v:any/cprocedure
( immutable-box? v)→boolean?
v:any/cprocedure
( mutable-hash? v)→boolean?
v:any/cprocedure
( immutable-hash? v)→boolean?
v:any/c