pair? -- r7rs Definition type-predicate;
Procedure variants:
((pair) -> (true))
((null) -> (false))
((any) -> (false))
scheme:base -- (scheme base);scheme -- (scheme);(pair? obj)The
pair?predicate returns#tifobjis a pair, and otherwise returns#f.(pair? '(a . b)) ===> #t (pair? '(a b c)) ===> #t (pair? '()) ===> #f (pair? '#(a b)) ===> #f
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.