OrLuau✎
The first operand that is not `nil` or `false`. This is how a default is written: `value or fallback` is the value when there is one and the fallback when there is not. Brackets, in the Inspector, wraps the result in `( )`; precedence is handled either way.
Pending review
- the language itself, so it works in Roblox and in Lune
- pure — no execution pins, wire it anywhere
- takes 2 to 8 inputs, set per node
- names its result — Result name in the Inspector is the local it binds, and a Declare Local reading that result makes a second one: see Variables and locals
Inputs
- A:any=
false - B:any=
false
Outputs
- result:any
What it compiles to
luau
print(false or false)
Not reviewed yet