ValueEnumOps

enumeratum.values.ValueEnumEntry$.ValueEnumOps
final implicit class ValueEnumOps[A <: ValueEnumEntry[_]](val enumEntry: A) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def in(firstEnum: A, otherEnums: A*): Boolean

Checks if the current enum value is contained by the set of enum values in the parameter list.

Checks if the current enum value is contained by the set of enum values in the parameter list.

Value parameters

firstEnum

First enum of the list.

otherEnums

Remaining enums.

Attributes

Returns

true if the current value is contained by the parameter list.

def in(entries: Seq[A]): Boolean

Checks if the current enum value is contained by the set of enum values in the parameter list.

Checks if the current enum value is contained by the set of enum values in the parameter list.

Value parameters

entries

First enum of the list.

Attributes

Returns

true if the current value is contained by the parameter list.

Concrete fields

val enumEntry: A