has Enum Constant With Name
Determines whether the declaration has at least one enum constant whose name matches any of the specified names.
Return
true
if there is a matching declaration, 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 at least one enum constant whose name matches any of the specified names.
Return
true
if there is a matching declaration, false
otherwise.
Parameters
names
the names of the enum constants to check.