Skip to main content
Returns all nested Lua functions from a Lua function or stack level as a one-based array table. Invalid stack levels raise “Level out of range”, and non-Lua functions raise “Lua function expected”. debug.getprotos is an alias.

Söz dizimi

Aliaslar

  • debug.getprotos

Argümanlar

Dönüşler

Örnek

Clone every nested Proto from a Lua closure into an array of new L closures.