hasText

open fun hasText(text: String): Predicate<View>

Returns a predicate that returns true if the applied on view's text is equal to the given text. substring.

Return

the predicate

Parameters

text

the text to check