SearchMatcherGuards.comparison method
SearchMatcherGuards › comparison
Unofficial
Checks the exact prototype of a comparison matcher.Signature:
comparison(matcher: SearchMatcher): matcher is SearchComparisonMatcherParameters:
| Parameter | Type | Description |
|---|---|---|
| matcher | SearchMatcher | The node to inspect. |
Returns: matcher is SearchComparisonMatcher — Whether the node has the current app's comparison prototype.