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 Source
t() :: %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

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