type Parameter Declarations
fun <T : KoDeclarationCastProvider> List<T>.typeParameterDeclarations(predicate: (KoTypeParameterDeclaration) -> Boolean? = null): List<KoTypeParameterDeclaration>
List containing type parameter declarations associated with declarations.
Return
A list of type parameter declarations that match the provided predicate, or all type parameter declarations if no predicate is provided.
Parameters
predicate
A function that defines the condition to be met by the type parameter declaration. If null, all type parameter declarations are included.