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 /


FilledSmallSquare TrueQ[expr] yields True if expr is True, and yields False otherwise.

FilledSmallSquare Example: TrueQ[x==y] LongRightArrow.

FilledSmallSquare You can use TrueQ to "assume" that a test fails when its outcome is not clear.

FilledSmallSquare TrueQ[expr] is equivalent to If[expr, True, False, False].

FilledSmallSquare See Section 2.6.8.

FilledSmallSquare See also: If, Condition, SameQ.

FilledSmallSquare New in Version 1.