Skip to content

SearchMatcherGuards.and method

SearchMatcherGuards › and

Unofficial

Checks the exact prototype of a and matcher.

Signature:

and(matcher: SearchMatcher): matcher is SearchCompositeMatcher

Parameters:

ParameterTypeDescription
matcherSearchMatcherThe node to inspect.

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