Mathematica 9 is now available

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

TrueQ

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.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.