AssertLuau✎
Errors when the condition is false or nil. The check runs in production too — it is a claim about your own code, not a debug-only guard.
Pending review
- the language itself, so it works in Roblox and in Lune
Inputs
- in:execution
- Condition:boolean=
true - Message:string=
"assertion failed"
Outputs
- then:execution
What it compiles to
luau
assert(true, "assertion failed")
Not reviewed yet