-
Notifications
You must be signed in to change notification settings - Fork 0
true
ffredyk edited this page Jul 23, 2026
·
1 revision
Value Constructor
Nular — no operands.
true
Returns the Boolean value true. Used in conditional expressions, logical operations, and as a literal constant.
true compiles to a nular command that pushes the singleton Boolean true onto the VM stack. It is a compile-time constant — no runtime computation.
if (true) then {
systemChat "Always runs";
};while { true } do {
if (_done) exitWith {};
sleep 0.1;
};_initialized = true;
_isRunning = true;_result = if (_cond) then { "yes" } else { "no" };ReadOnly — Boolean values are immutable singletons. Safe from any scheduler.
- Getting Started
- Language Guide
- Type System
- Control Flow
- Functions & Code
- Strings & Text
- Arrays & Collections
- Concurrency
- Promise System
- Thread Safety
- Host API & Embedding
- CLI Tool
- Bytecode Reference
- Multiplayer
- Syntax Sugar
- Optimization Guide
- Benchmarks
- count
- select
- pushBack
- append
- deleteAt
- deleteRange
- resize
- reverse
- sort
- find
- in
- forEach
- freeze
- thaw
- isFrozen
- currentScheduler
- clientOwner
- allSchedulers
- schedulerName
- schedulerExists
- schedulerBudget
- setSchedulerBudget
- fiberCount
- readyFiberCount
- waitingFiberCount
- schedulerLoad
- sendTo