isluau Synchronous

Report whether this build uses Luau. Use it for a compatibility branch when the same utility also runs in another Lua dialect. In Kawaii the result is always true.

Syntax
Luau
isluau() -> boolean

Parameters

This function takes no arguments.

Returns

boolean

Always true in this build.

Example

Example
Luau
print("Uses Luau:", isluau())
Kawaii documentation