true when the calling code is running on the dedicated hook thread, which is where an oth.hook callback runs.
Returns
boolean
true if on the hook thread.Example
Related
get_original_thread: the thread that triggered the hook.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Test whether code is on the hook thread.
oth.is_hook_thread() -> boolean
true when the calling code is running on the dedicated hook thread, which is where an oth.hook callback runs.
true if on the hook thread.print(oth.is_hook_thread())
get_original_thread: the thread that triggered the hook.