Skip to content

SearchMatcherGuards.or method

SearchMatcherGuards › or

Unofficial

Checks the exact prototype of a or matcher.

Signature:

or(matcher: SearchMatcher): matcher is SearchCompositeMatcher

Parameters:

ParameterTypeDescription
matcherSearchMatcherThe node to inspect.

Returns: matcher is SearchCompositeMatcher — Whether the node has the current app's or prototype.