Skip to content

reflect

The reflect module provides runtime reflection and inspection capabilities for the custom Luau environment.

Summary

Methods

MethodSignatureDescription
isOurThread() -> booleanReturns true if the current thread is a custom runtime thread.
isLuauFunction(f: function) -> booleanReturns true if the function is a Luau closure.
decompile(script: any, mode: any?, timeout: number?) -> stringDecompiles a script or function back into source code.