with All Enum Constants Named
fun <T : KoEnumConstantProvider> List<T>.withAllEnumConstantsNamed(name: String, vararg names: String): List<T>
List containing declarations that have all specified enum constants.
Return
A list containing declarations with all specified enum constant(s).
Parameters
name
The name of the enum constant to include.
names
The name(s) of the enum constant(s) to include.
fun <T : KoEnumConstantProvider> List<T>.withAllEnumConstantsNamed(names: Collection<String>): List<T>
List containing declarations that have all specified enum constants.
Return
A list containing declarations with all specified enum constant(s).
Parameters
names
The name(s) of the enum constant(s) to include.