Node:Boolean Data,
Next:Unique Values,
Previous:Character Data,
Up:Immediate Datatypes
18.2.4.3 Booleans
Here are functions and macros for operating on booleans.
SCM SCM_BOOL_T
|
Macro |
SCM SCM_BOOL_F
|
Macro |
The Scheme true and false values.
|
int SCM_NFALSEP (x)
|
Macro |
Convert the Scheme boolean value to a C boolean. Since every object in
Scheme except #f is true, this amounts to comparing x to
#f ; hence the name.
|
SCM SCM_BOOL_NOT (x)
|
Macro |
Return the boolean inverse of x. If x is not a
Scheme boolean, the result is undefined.
|