if

Marks a block of statements to be executed depending on a condition

Syntax

if(x)

Returns

Nothing

Parameters

x (boolean)
true or false statement