with All Enum Constants
fun <T : KoEnumConstantProvider> List<T>.withAllEnumConstants(predicate: (KoEnumConstantDeclaration) -> Boolean): List<T>
List containing declarations that have all enum constants satisfying the provided predicate.
Return
A filtered list containing declarations with all enum constants satisfying the predicate.
Parameters
predicate
A function that defines the condition to be met by all enum constant declarations.