Download Monk Developer`s Reference

Transcript
Chapter 8
Pairs and Lists
null?
Syntax
(null? obj)
Description
Determines if the argument is an empty list.
Parameters
Name
obj
Type
any
Description
The object to test.
Return Value
Boolean
Returns #t if the object is an empty list. Otherwise, it returns #f.
Examples
(null? ’(a b c))
=>
#f
(null? ’())
=>
#t
(null? ’(a . b)
=>
#f
Monk Developer’s Reference
222
SeeBeyond Proprietary and Confidential