NumberQ
True only for an explicit numeric literal — a symbolic constant like Pi is NOT NumberQ.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
NumberQ!NumberQ(expr)True for an Integer/Real/Rational/Complex literal, False otherwiseTyped signatures
| Type | Package | Applies |
|---|---|---|
(any) -> boolean | combinatorics | always |
Details
- Unlike compute-engine's own isNumber (True for Pi, GoldenRatio, …), NumberQ(Pi) is False — Wolfram's own distinction, kernel-checked (
NumberQ[Pi]is False,NumberQ[N[Pi]]is True).
Examples
About
| Examples | 8 |
|---|---|
| Checked against | Wolfram Language 6 agree2 differ |
| Crosswalk | Wolfram Language |
See also: ReIm