Skip to main content

Алиасы

  • debug.getprotos

Аргументы

function | number
обязательно
Lua function or stack level whose nested functions are returned.

Возвраты

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

Пример

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