debug.getsafeenv
Reads a table's Luau safe-environment flag.
This flag controls Luau import optimizations; it is not a security assessment of the table.
debug.getsafeenv(environment: table): booleanParameters
| Parameter | Type | Description |
|---|---|---|
environment | table | Environment table to inspect. |
Aliases: isuntouched.
