True

True
is the symbol for the Boolean value true.

Background
Background

ExamplesExamplesopen allclose all

Basic Examples  (4)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]=
Introduced in 1988
(1.0)