with Upper Bounds
List containing declarations with any upper bound.
Return
A list containing declarations with any upper bound.
fun <T : KoUpperBoundsProvider> List<T>.withUpperBounds(predicate: (List<KoTypeDeclaration>) -> Boolean): List<T>
List containing declarations with upper bound declarations satisfying the predicate.
Return
A list containing declarations with upper bound declarations satisfying the predicate.
Parameters
predicate
A function that defines the condition to be met by the list of upper bound declarations.