Skip to content

SearchMatcherGuards.content method

SearchMatcherGuards › content

Unofficial

Checks the exact prototype of a content matcher.

Signature:

content(matcher: SearchMatcher): matcher is SearchUnaryMatcher

Parameters:

ParameterTypeDescription
matcherSearchMatcherThe node to inspect.

Returns: matcher is SearchUnaryMatcher — Whether the node has the current app's content prototype.