ResultCodeToBoolean()
Function info
function LuauInLuau.ResultCodeToBoolean(code): (result: boolean)
Converts result codes into Luau boolean
Arguments
code
- The result code (0 or 1)
Returns
result: boolean
- Result code converted into a Luau boolean