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

python
def matches(&self, target: &str) -> bool

Parameters

ParamField &str

No description available.

Returns

ResponseField bool

The result of the operation.