For Gauche 0.9.5


Next: , Previous: , Up: Core library   [Contents][Index]

6.4 Booleans

Builtin Class: <boolean>

A boolean class. Only #t and #f belong to this class.

Function: not obj

[R7RS] Returns #t if and only if obj is #f, and returns #f otherwise.

Function: boolean? obj

[R7RS] Returns #t if obj is a boolean value.

Function: boolean obj

Returns #f iff obj is #f, and returns #t otherwise. Convenient to coerce a value to boolean.

Function: boolean=? a b c …

[R7RS] Every argument must be a boolean value. Returns #t iff all values are the same, #f otherwise.


Next: , Previous: , Up: Core library   [Contents][Index]