isluau Synchronous
Check whether the running interpreter is Luau. Kawaii always returns true, but the check lets a script shared with other Lua runtimes choose its Luau-specific path.
Luau
isluau() -> booleanParameters
This function takes no arguments.
Returns
booleantrue in this Kawaii build.
Usage notes
This reports the language runtime, not whether a particular Luau feature is enabled.
Example
Luau
if isluau() then
local values = table.create(3, "ready")
print(values[1])
end