IsInteger
Tests whether x is manifestly an integer.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
IntegerQ✓IsInteger(x)True if x is an integer, False otherwiseTyped signatures
| Type | Package | Applies |
|---|---|---|
(any) -> boolean | combinatorics | always |
Details
- Returns False unless x is provably an integer -- there's no third "unknown" outcome, same convention as IsPrime.
- A free symbol, or anything compute-engine can't classify, answers False.
Examples
About
| Examples | 5 |
|---|---|
| Checked against | Wolfram Language 5 agree |
| Crosswalk | Wolfram Language |