This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Programming / Tests /

IntegerQ

FilledSmallSquare IntegerQ[expr] gives True if expr is an integer, and False otherwise.

FilledSmallSquare IntegerQ[expr] returns False unless expr is manifestly an integer (i.e., has head Integer).

FilledSmallSquare Simplify[expr Integers] can be used to try to determine whether an expression is mathematically equal to an integer.

FilledSmallSquare See Section 2.3.5 and Section 3.1.1.

FilledSmallSquare See also: EvenQ, OddQ, NumberQ, TrueQ, Element.

FilledSmallSquare New in Version 1.

Further Examples