enum
OpenFeature::Type
Defined in:
openfeature/types.crEnum Members
-
Boolean =
0 -
A logical true or false, as represented idiomatically in the implementation languages.
-
String =
1 -
A UTF-8 encoded string.
-
Number =
2 -
A numeric value of unspecified type or size. Implementation languages may further differentiate between integers, floating point numbers, and other specific numeric types and provide functionality as idioms dictate.
-
Structure =
3 -
Structured data, presented however is idiomatic in the implementation language, such as JSON or YAML.
-
Datetime =
4 -
A language primitive for representing a date and time, optionally including timezone information. If no timezone is specified, the date and time will be treated as UTC.
Instance Method Summary
-
#boolean?
Returns
trueif this enum value equalsBoolean -
#datetime?
Returns
trueif this enum value equalsDatetime -
#number?
Returns
trueif this enum value equalsNumber -
#string?
Returns
trueif this enum value equalsString -
#structure?
Returns
trueif this enum value equalsStructure