Functions Documentation |
|
Name |
isAtom |
Syntax |
(isAtom expr) -> True/Nil |
Argument List |
expr: The expression you want to test for being an atom. |
Returns |
boolean: True if the expression is an atom, Nil otherwise. |
Category |
atom, condition query
|
Description |
Returns True if the expression is an atom. An atom is anything that can not be split up (*hrhhmm*), so it includes everything that is not a list. |
Example |
(isAtom "Betel")
Returns true.
(isAtom isAtom)
Returns true.
(isAtom '(a))
Returns Nil. |
Comment |
Useful in error checking. |