isAtom
|
The isAtom function returns true if {obj} is not a Pair;
otherwise false is returned; (remember that lists are constructed of pairs
chained together) Usage Use the isAtom function to distinguish between Lists and non-Lists during
list processing, rule base processing, or other Artificial Intelligence techniques.
The flip side of the isAtom function is the isPair function. When
isPair is true, isAtom is always false and vice versa.
(isAtom obj) Returns true if the object is not a Pair or List and returns false if object is a pair.
Expression:
Arguments
Name
Type
Description Argument: obj Character String Symbol Vector BitVector ByteVector IntVector
FltVector ObjVector Structure Dictionary Directory Brick
Matrix NumMatrix Integer Float Number Complex
Any native or object data type.
Returns:
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments.
Here are also a number of links to functions having arguments with any of these data types.
Analytic Information Server (AIS)AIS Component Systems
|