Skip to content

SearchMatcherGuards.property method

SearchMatcherGuards › property

Unofficial

Checks the exact prototype of a property matcher.

Signature:

property(matcher: SearchMatcher): matcher is SearchPropertyMatcher

Parameters:

ParameterTypeDescription
matcherSearchMatcherThe node to inspect.

Returns: matcher is SearchPropertyMatcher — Whether the node has the current app's property prototype.