matches • Rust AI Agent SDK
matches: Check if this hook matches the target
matches
Method
</div>
This is a method of the HookDefinition class in the hooks module.
Check if this hook matches the target
Signature
def matches(&self, target: &str) -> boolParameters
ParamField
&strNo description available.
Returns
ResponseField
boolThe result of the operation.