Skip to content

SearchMatcherGuards.text method

SearchMatcherGuards › text

Unofficial

Checks the exact prototype of a text matcher.

Signature:

text(matcher: SearchMatcher): matcher is SearchTextMatcher

Parameters:

ParameterTypeDescription
matcherSearchMatcherThe node to inspect.

Returns: matcher is SearchTextMatcher — Whether the node has the current app's text prototype.