Tablex.Decider (decision_sheet v0.1.0-alpha.0)
Decision engine module responsible for applying a set of rules to input data and returning the output according to the hit policy.
Link to this section Summary
Functions
Run the decision process on the given table, arguments, and options.
Link to this section Types
Link to this type
options()
@type options() :: []
Link to this section Functions
Link to this function
decide(table, args, opts \\ [])
@spec decide(Tablex.Table.t(), keyword(), options()) :: map() | {:error, :hit_policy_not_implemented}
Run the decision process on the given table, arguments, and options.
examples
Examples
iex> decide(table, args)
output
Link to this function
match_expect?(expect, value)
Link to this function