nil if there is none. Lets a callback reach the top of a chain of hooks on the same target.
Returns
function or nil
The root callback, or
nil.Example
Related
hook: where callbacks are registered.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get the callback at the root of the hook.
oth.get_root_callback() -> function?
nil if there is none. Lets a callback reach the top of a chain of hooks on the same target.
nil.local root = oth.get_root_callback()
hook: where callbacks are registered.