is_number function
Test whether a value is a number.
How to write it
is_number(x)
- x
- A value. Takes an expression.
Examples
is_number(3)In the solver,
Open in the solveris_number(3)givestrue.
Related functions
- is_numeric
Test whether a value has a numeric value, such as pi.
- is_integer
Test whether a value is a whole number.
- is_odd
Test whether a whole number is odd.
- is_even
Test whether a whole number is even.
- is_satisfiable
Test whether a condition is true for some value of its variables.
- implies
True unless the first condition is true and the second false.