Przejdź do głównej treści

Aliasy

  • debug.getprotos

Argumenty

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

Zwroty

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

Przykład

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