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