boolean?
-- r7rs
Definition type-predicate
;
Procedure variants:
((boolean) -> (true))
((any) -> (false))
scheme:base
-- (scheme base)
;scheme
-- (scheme)
;(boolean? obj)
The
boolean?
predicate returns#t
ifobj
is either#t
or#f
and returns#f
otherwise.(boolean? #f) ===> #t (boolean? 0) ===> #f (boolean? '()) ===> #f
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.