modding:function:isatom
Discuss this page on this pages TalkPage
isAtom
| Syntax | (isAtom expr) → True/Nil |
|---|---|
| Arguments | 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. Return to Functions list
modding/function/isatom.txt · Last modified: by 127.0.0.1
