Ana içeriğe atla

Aliaslar

  • debug.getprotos

Argümanlar

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

Dönüşler

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

Örnek

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