Skip to main content
Version: 1.5.0

Or

The logical disjunction ("or") is implemented by the binary operator ||.

const or_1 : bool = false || true; // true
const or_2 : bool = false || false; // false
const or_3 : bool = true || true; // true
const or_4 : bool = true || false; // true