has Type Parameter Declaration
abstract fun hasTypeParameterDeclaration(predicate: (KoTypeParameterDeclaration) -> Boolean? = null): Boolean
Whether declaration has a specified type parameter declaration.
Return
true
if the declaration has the specified type parameter declaration (or any parameter type declaration if predicate is null
), false
otherwise.
Parameters
predicate
The predicate generic used to determine if a type parameter declaration satisfies a condition.