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