withAllUpperBounds

List containing declarations that have all upper bounds satisfying the provided predicate.

Return

A filtered list containing declarations with all upper bounds satisfying the predicate.

Parameters

predicate

A function that defines the condition to be met by all upper bound declarations.