hasTextContaining

abstract fun hasTextContaining(str: String): Boolean

Text of the declaration containing text.

Return

true if the declaration's text contains the text, false otherwise.

Parameters

str

The text to check against. It is a non-null string representing the desired text.