with Enum Constant Named
fun <T : KoEnumConstantProvider> List<T>.withEnumConstantNamed(name: String, vararg names: String): List<T>
List containing declarations that have at least one enum constant with the specified name(s).
Return
A list containing declarations with at least one of the specified enum constant(s).
Parameters
name
The name of the enum constant to include.
names
The names of additional enum constants to include.
List containing declarations that have at least one enum constant with the specified name(s).
Return
A list containing declarations with at least one of the specified enum constant(s).
Parameters
names
The names of additional enum constants to include.