| Applying science to business management |
  
exists
Format: exists( name )
Arguments: (node) name Name of a node
Returns: (int) Code indicating if the node name
exists
Description: This primitive is used to test for the
existence of a particular node. The code returned indicates if
the node is a primitive, user-defined, or other. The following is
a list of possible code values.
Code Node Type
0 Does not exist
1 Primitive
2 Library function
3 User-defined unit
4 User-defined node
5+ Temporary variable created within
{ }
Examples: exists(PI) = 1
See Also: show, dtype, typeof
|