Brex v0.2.1 Brex.Result View Source
Represents a result of a rule evaluation. It contains …
evaluation
: the result of theevaluate
call 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()