enum OpenFeature::Type

Defined in:

openfeature/types.cr

Enum 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

Instance Method Detail

def boolean? #

[View source]
def datetime? #

[View source]
def number? #

[View source]
def string? #

[View source]
def structure? #

[View source]