- You can use AtomQ in a recursive procedure to tell when you have reached the bottom of the tree corresponding to an expression.
- AtomQ gives True for symbols, numbers, strings, and other raw objects, such as sparse arrays.
- AtomQ gives True for any object whose subparts cannot be accessed using functions like Map.
Examplesopen allclose all
Introduced in 1988
(1.0)| Updated in 2003