hasEnumConstantsWithAllNames

abstract fun hasEnumConstantsWithAllNames(name: String, vararg names: String): Boolean

Determines whether the declaration has enum constants with all the specified names.

Return

true if there are declarations with all the specified names, false otherwise.

Parameters

name

The name of the enum constant to check.

names

The names of the enum constants to check.


Determines whether the declaration has enum constants with all the specified names.

Return

true if there are declarations with all the specified names, false otherwise.

Parameters

names

The names of the enum constants to check.