Skip to content

getgenv

Description:

This function demonstrates the usage of the getgenv API.

Example:

-- Get the global environment
local genv = getgenv()

print("Global environment:", genv)