If

Name

 * if

Description
if checks whether the expression inside the parenthesis is true and if it is executes the statement(s). If it is not true the statements are not executed.
 * Since:

Syntax
if(expression){ // statement(s) }

or

if(expression) // statement;


 * (expression): a boolean statement that evaluates to true or false