Syntax
ishiddenstack(target: function | number): booleanAliases
isstackhiddenArguments
| Name | Type | Description |
|---|---|---|
target | function | number | Function or stack level number to check. |
Returns
| Name | Type | Description |
|---|---|---|
hidden | boolean | true when the resolved function is marked as hidden; otherwise false. |
Description
Returns whether a function, or the function at a stack level, is marked as hidden. target must be a function or stack level number. Invalid stack levels raise "Level out of range". isstackhidden is an alias.
Call it with 1 parameter(s): target. The argument table explains which values are required and which ones only refine the behavior.
It returns hidden (boolean). Use the returns table to separate successful values from nil results and recoverable errors.
Example
Check whether a function closure is present in hidden stack tracking.
local function target()
end
print(ishiddenstack(target))