Featureflow v0.1.0 Featureflow.Client.Evaluate View Source
Represents Evaluate instanse functions and underlined datastructure from spec see: https://github.com/featureflow/featureflow-sdk-implementation-guide/blob/master/Implementation/3.Evaluate.md
Link to this section Summary
Functions
Evaluate.is() checks if evaluate value is equal to expected one
Evaluate.isOff() checks if evaluate value is 'off'
Evaluate.isOn() checks if evaluate value is 'on'
Evaluate.value() returns raw evaluated value
Link to this section Types
Link to this type
t()
View Sourcet() :: %Featureflow.Client.Evaluate{
client: Featureflow.Client.t() | nil,
featureKey: Featureflow.Feature.feature_key(),
user: Featureflow.User.t(),
value: String.t()
}
Link to this section Functions
Link to this function
is(evaluate, variant)
View Sourceis(Featureflow.Client.Evaluate.t(), String.t()) :: boolean()
Evaluate.is() checks if evaluate value is equal to expected one
Link to this function
isOff(evaluate)
View SourceisOff(Featureflow.Client.Evaluate.t()) :: boolean()
Evaluate.isOff() checks if evaluate value is 'off'
Evaluate.isOn() checks if evaluate value is 'on'
Link to this function
value(evaluate)
View Sourcevalue(Featureflow.Client.Evaluate.t()) :: String.t()
Evaluate.value() returns raw evaluated value