if

if executes when the condition is true.

Syntax

Δ

if (condition) {
  code
}

Example | True

Δ

Example | False

Δ

Reference

Δ