Skip to content
Debug libraryOverviewNew · 0.744

checkcallstack

Describe the module's classification of the current call stack.

Details#

Returns true when all inspected calling functions are classified as belonging to the module, otherwise false. It checks the call chain rather than only the immediate caller.

Examples#

Example

Luau
local function inspect() return checkcallstack() end
print(inspect())