Parameters
Returns
boolean - true if the thread belongs to the executor, false otherwise.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
isourthread(thread: thread?): boolean
| Parameter | Type | Description |
|---|---|---|
thread | thread | (Optional) The thread to check. Defaults to the current thread. |
boolean - true if the thread belongs to the executor, false otherwise.
print(isourthread()) -- true
local t = coroutine.create(function() end)
print(isourthread(t)) -- true