Brex v1.0.0 Brex.Result View Source
Represents a result of a rule evaluation. It contains …
evaluation: the result of theevaluatecall for therule: the evaluated rulevalue: the evaluated value
In addition to that it defines a passed?/1 function which receives a
Brex.Result or an evaluate return value and determines whether the
evaluations was considered successful or not.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t() :: %Brex.Result{evaluation: evaluation(), rule: rule(), value: value()}
Link to this section Functions
Link to this function
passed?(boolean)
View Source
passed?(result :: t() | evaluation()) :: boolean()