View Source Flagsmith.Schemas.Types.Segment.Type (flagsmith_engine v2.2.1)

Ecto type representing an enum for possible Segment type evaluation rules.

Link to this section Summary

Functions

Dumps but raises in case of non-valid data

Given a desired format returns the matching values for that format, where format can be :atoms | :strings

Link to this section Types

@type t() :: :ALL | :ANY | :NONE

Link to this section Functions

Dumps but raises in case of non-valid data

@spec values(:atoms | :strings) :: [t()] | [String.t()]

Given a desired format returns the matching values for that format, where format can be :atoms | :strings