Has Hooks • Rust AI Agent SDK
has_hooks: Check if any hooks exist for an event
has_hooks
Method
</div>
This is a method of the HookRegistry class in the hooks module.
Check if any hooks exist for an event
Signature
def has_hooks(&self, event: HookEvent) -> boolParameters
ParamField
HookEventNo description available.
Returns
ResponseField
boolThe result of the operation.