True

True

is the symbol for the Boolean value true.

Background & Context

Examples

open allclose all

Basic Examples  (4)

Evaluate a Boolean expression:

In[1]:=
Click for copyable input
Out[1]=

Use a conditional:

In[1]:=
Click for copyable input
Out[1]=

Test a structural property:

In[1]:=
Click for copyable input
Out[1]=

Test a mathematical property:

In[1]:=
Click for copyable input
Out[1]=

Properties & Relations  (6)

See Also

False  TrueQ  Boole  If  Booleans  ForAll  Automatic  BooleanQ

Tutorials

Introduced in 1988
(1.0)