with Type Argument
fun <T : KoTypeArgumentProvider> List<T>.withTypeArgument(predicate: (KoTypeArgumentDeclaration) -> Boolean): List<T>
List containing declarations that have at least one type argument satisfying the provided predicate.
Return
A list containing declarations with at least one type argument satisfying the predicate.
Parameters
predicate
A function that defines the condition to be met by a type argument declaration.