ReferenceClosures

isstackhidden

Reads the hidden-frame mark for a function or visible caller level.

Syntax

isstackhidden(target: function | number) -> boolean

Also available as

is_stack_hidden

Parameters

ParameterTypeDescription
targetfunction or numberFunction or visible caller level.

Returns

TypeDescription
booleanWhether the function is marked hidden.

Description

This queries the setting used by setstackhidden. It does not claim that a function is absent from every engine or native stack representation.

Example

local function sample() return 1 end
print(isstackhidden(sample))

These are Game executor contracts. Check build requirements and session lifetimes before using them.