ot::CallbackBase::Matches() const method
Indicates whether the callback matches a given handler function pointer and context.
Arguments
aHandler
The handler function pointer to compare with.
aContext
The context associated with handler.
Return value
TRUE The callback matches @p aHandler and @p aContext. FALSE The callback does not match @p aHandler and @p aContext.