type/numeric
check for an object of type numeric
Calling Sequence
Parameters
Description
Subtypes
Supertypes
Examples
type(x, numeric)
x
-
any expression
The type(x, numeric) function returns true if x is an integer, fraction, or finite floating-point number.
type/rational
type/extended_numeric, type/finite, type/literal
type1,numeric
true
type12,numeric
type1.5,numeric
typeName,numeric
false
typeab,numeric
type∞,numeric
type∞,extended_numeric
typeFloatundefined,numeric
typeFloatundefined,extended_numeric
See Also
infinity
type
type/extended_numeric
type/finite
type/float
type/fraction
type/infinity
type/integer
type/realcons
type/undefined
undefined
Download Help Document