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, map⁡f,x=f⁡x. Objects in Maple which have this property are of type name, complex(extended_numeric), indexed, string, procedure, or `module`.
type⁡1,'atomic'
true
type⁡12,'atomic'
type⁡0.5,'atomic'
type⁡3+1⁢I2,'atomic'
type⁡x+1⁢I2,'atomic'
false
type⁡String,'atomic'
type⁡Name,'atomic'
type⁡ab,'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
What kind of issue would you like to report? (Optional)