hasUpperBoundWithName

abstract fun hasUpperBoundWithName(name: String, vararg names: String): Boolean

Determines whether the declaration has at least one upper bound whose name matches any of the specified names.

Return

true if there is a matching declaration, false otherwise.

Parameters

name

the name of the upper bound to check.

names

the names of the upper bounds to check.


Determines whether the declaration has at least one upper bound whose name matches any of the specified names.

Return

true if there is a matching declaration, false otherwise.

Parameters

names

the names of the upper bounds to check.