type/name
check for an object of type name
Calling Sequence
Parameters
Description
Supertypes
Examples
type(x, name)
type(x, name(t))
x
-
expression
t
type
The call type(x, 'name') checks if x is of type name. It returns true if x is of type name. Otherwise, it returns false.
An object is of type name if it is a symbol, or if it is of type indexed and its root is of type name (that is, it is a recursive type).
If the parameter t is included, it checks that x is assigned something of that type.
type/algebraic
type1,name
false
type12,name
type0.5,name
typeString,name
typeName,name
true
typeab,name
typea,nameinteger
a≔3
See Also
name
type/atomic
type/indexed
type/string
type/symbol
Download Help Document