[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [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.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]

This document was generated on July 19, 2014 using texi2html 1.82.