hasTextEndingWith

abstract fun hasTextEndingWith(suffix: String): Boolean

Text of the declaration with suffix.

Return

true if the declaration's text ends with the prefix, false otherwise.

Parameters

suffix

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