Zum Hauptinhalt springen

Aliase

  • debug.getprotos

Argumente

function | number
erforderlich
Lua function or stack level whose nested functions are returned.

Rückgaben

table
One-based array table containing nested functions. Empty when none are present.

Beispiel

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