Closurescheckcaller
Closures

checkcaller

Reports whether the current function was invoked from the executor thread.

Related to sUNC documentation

This page follows the official sUNC reference.

Signature

Luau
function checkcaller(): boolean

Returns

A boolean indicating whether the caller belongs to the executor.