If

Name

If -- Evaluates expressions conditionally

Synopsis

If[boolean-expression, statement-list]
If[boolean-expression, statement-list, statement-list]

Description

If defines a block of statements to be executed under certain conditions. See the section on control structures for complete information.