IsNumeric
Whether expr denotes a definite numeric quantity, without evaluating it.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
NumericQ✓IsNumeric(expr) for a number literal or an expression built from numeric literals and constants like , otherwise.Typed signatures
| Type | Package | Applies |
|---|---|---|
(any) -> boolean | combinatorics | always |
Details
- Wolfram spells this
NumericQ; renamed to theIs…convention used across compute-engine predicates. - A plain symbol with no numeric value (like
x) is not numeric, even though it could later be assigned one.
Examples
About
| Examples | 7 |
|---|---|
| Checked against | Wolfram Language 7 agree |
| Crosswalk | Wolfram Language |
See also: IsMachineNumber, Precision