(zerop)
(zerop number)
Determine whether this number is zero.
If number is a real number or an integer and it is a zero value, the zerop function returns a T. Otherwise, it returns a nil.
Examples
Code | Returns |
---|---|
(zerop 0) | T |
(zerop 0.5) | nil |
(zerop 0.0000) | T |