reflect
The reflect module provides runtime reflection and inspection capabilities for the custom Luau environment.
Summary
Methods
| Method | Signature | Description |
|---|---|---|
isOurThread | () -> boolean | Returns true if the current thread is a custom runtime thread. |
isLuauFunction | (f: function) -> boolean | Returns true if the function is a Luau closure. |
decompile | (script: any, mode: any?, timeout: number?) -> string | Decompiles a script or function back into source code. |