type/atomic
check for an object of type atomic
Calling Sequence
Parameters
Description
Examples
type(x, atomic)
x
-
any expression
The call type(x, atomic) checks to see if x is of type atomic. It returns true if x is of type atomic, and false otherwise.
An object is of type atomic if it cannot be mapped over, that is, mapf,x=fx. Objects in Maple which have this property are of type name, complex(extended_numeric), indexed, string, procedure, or `module`.
type1,atomic
true
type12,atomic
type0.5,atomic
type3+12I,atomic
typex+12I,atomic
false
typeString,atomic
typeName,atomic
typeab,atomic
See Also
map
type
type/extended_numeric
type/float
type/fraction
type/indexed
type/integer
type/literal
type/module
type/name
type/procedure
type/rational
type/string
Download Help Document