الانتقال إلى المحتوى الرئيسي

أسماء بديلة

  • debug.getupvalues

الوسائط

function | number
مطلوب
Lua function or stack level whose upvalues are returned.

القيم الراجعة

table
One-based array table containing the function upvalues. Empty when none are present.

مثال

Read all upvalues from a Lua closure or stack level.