has Type Parameter Declaration
abstract override fun hasTypeParameterDeclaration(predicate: (KoTypeParameterDeclaration) -> Boolean?): Boolean
Deprecated
Will be removed in version 0.19.0
Replace with
sourceDeclaration?.hasTypeParameterDeclaration()
Content copied to clipboard
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.