The Enum type.
Builds a new Enum type.
@type t() :: t([any(), ...])
@opaque t(values)
@spec t(values) :: t(values) when values: [any(), ...]
iex> Vx.Enum.t([:foo, :bar]) |> Vx.validate!(:foo) :ok iex> Vx.Enum.t([:foo, :bar]) |> Vx.validate!(:baz) ** (Vx.Error) must be one of :foo, :bar