false
The false keyword is the Boolean false literal. It is a value of type bool representing a falsy condition.
Syntax & Example
let active: bool = false;
let done = false;
while not done {
// ...
done = true;
}
Use Cases
- Initializing Boolean flags to a falsy default.
- Returning a Boolean result from a function or expression.
- Serving as a falsy condition in
if/whiletests.