hasNameStartingWith

abstract fun hasNameStartingWith(prefix: String): Boolean

Name of the declaration with prefix.

Return

true if the declaration's name starts with the prefix, false otherwise.

Parameters

prefix

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