All lessons

Making Decisions

8 min · OCaml

Run different code depending on whether something is true.

OCaml · Making Decisions0/5 cleared

Enemy 1 of 5

if ... then ... else ... chooses between two actions. Compare with > , < , = .

You
Syntax Skeleton

Loading editor...

Ln 1, Col 1Spaces: 4
Sign up to fightTarget output: Cold