Available functions

getidentity

Reads the current thread’s identity.

getnamecallmethod

Reads the thread’s current namecall atom.

getrawmetatable

Returns the actual metatable, ignoring __metatable protection.

hookmetamethod

Hooks an existing function-valued metamethod and returns the original callable.

isreadonly

Reads a table’s native readonly flag.

isuntouched

Reads a table’s native safeenv flag.

makereadonly

Sets a table’s readonly flag.

makewriteable

Clears a table’s readonly flag.

setidentity

Updates the calling thread’s identity and capabilities through the scheduler.

setnamecallmethod

Changes the current thread’s namecall atom.

setrawmetatable

Sets the raw metatable and returns the original value.

setreadonly

Sets a table’s native readonly flag.

setuntouched

Updates the native safeenv flag on a table or the environment of a function/thread.