Scripts & runtimeOverview
isourthread
Identifies threads associated with the module.
Details#
Checks whether a thread is recognized as belonging to the module. This is a thread-origin classification and differs from whether a coroutine is running, suspended or dead.
Examples#
Example
local thread = coroutine.create(function() end)
print(isourthread(thread))