Skip to content
ExamplesOpen editor ↗

gongwe

→ else

Runs a block of code when an `fa` condition is false.

fa (seemo) { ... } gongwe { ... }

Use gongwe immediately after an fa block to provide an alternate branch that runs when the condition is not true.

Two-way branch
diri palo = 3;
fa (palo > 5) {
  kwala("e kgolo");
} gongwe {
  kwala("e nnye");
}

fa