debug.getstack
Returns a table (of the stack) or a singular object from the stack. Only returns objects that are currently on the stack.
debug.getstack(level: number, index: number?): ( any | { any } )Returns a table (of the stack) or a singular object from the stack. Only returns objects that are currently on the stack.
debug.getstack(level: number, index: number?): ( any | { any } )