Yuari
Documentation
Docs/Script/checkcaller

checkcaller

Returns true when the current thread is executor-owned.

Syntax

checkcaller() -> boolean

Parameters

This function takes no parameters.

Returns

TypeDescription
booleanTrue when the current thread is executor-owned

Description

checkcaller is part of the Script library. Script helpers inspect scripts loaded by the client, their bytecode and the Luau threads created for them.

The call is a predicate: it inspects the current state and returns a boolean without modifying anything.

Example

print(checkcaller())

Notes

  • Script data reflects the client's live script objects and may change after execution.