ot::Neighbor::MatchesFilter() const method
Indicates whether neighbor state matches a given state filter.
Arguments
aFilter
A state filter (`StateFilter` enumeration) to match against.
Return value
TRUE if the neighbor state matches the filter, FALSE otherwise.