top property
int
get
top
The index of the top value in the stack.
Can be set to a previous value as a fast way to clean up or to fill in nil values.
Implementation
int get top => lua_gettop(L);
set
top
(int index)
Implementation
set top(int index) => lua_settop(L, index);