procedure?
-- r7rs
Definition type-predicate
;
procedure?
(from vonuvoli
);Procedure variants:
((procedure) -> (true))
((any) -> (false))
scheme:base
-- (scheme base)
;scheme
-- (scheme)
;(procedure? obj)
Returns
#t
ifobj
is a procedure, otherwise returns#f
.(procedure? car) ===> #t (procedure? 'car) ===> #f (procedure? (lambda (x) (* x x))) ===> #t (procedure? '(lambda (x) (* x x))) ===> #f (call-with-current-continuation procedure?) ===> #t
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.