Skip to content

getscriptclosure

Description:

This function demonstrates the usage of the getscriptclosure API.

Example:

-- Get the closure of a script
local scriptClosure = getscriptclosure(some_script)

print("Script closure: " .. tostring(scriptClosure))