and

open fun and(textElementMatcher: TextElementMatcher): TextElementMatcher(source)

This allows the combination of different TextElementMatcher instances. If combined, all of the TextElementMatchers have to return true.

Return

A new and combined TextElementMatcher of this and textElementMatcher

Parameters

textElementMatcher

TextElementMatcher to combine with this one