IsNumericEntity
Tests if an object is a number, vector, or matrix.
Syntax
-
IsNumericEntity(X)-
Xis any object
-
Description
IsNumericEntity(X) returns true iff X is a number, a vector, or a matrix.
Examples
IsNumericEntity(5)
true
IsNumericEntity(i^π)
true
IsNumericEntity(❨5, 1, 3❩)
true
IsNumericEntity(IdentityMatrix(100))
true
IsNumericEntity("I suspect nargles are behind it.")
false
IsNumericEntity('(1, 2, 3))
false