Closed MaxGhenis closed 2 years ago
Adding all but multiply_
- can we think of an example that wouldn't be covered by and_
?
Not actual policy but something like this (suppose CB is means-tested so the amount is a variable rather than parameter):
total_child_benefit = multiply_(
benunit,
period,
["child_benefit_eligible", "number_of_children", "child_benefit_amount_per_child"]
)
OK, not sure that specific example works (number of children is probably group-level, amount per child probably person-level) but I've added multiply
(as an alias of and_
).
e.g. to replace this:
with this:
or if an or condition: