We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3eb014e commit 4faf63dCopy full SHA for 4faf63d
README.md
@@ -42,7 +42,7 @@ engine.rule(
42
43
# Use computed logic for operations that must be correct:
44
engine.rule(
45
- when=condition(Apple.baking && lambda: Inventory.apples < 10),
+ when=condition(lambda: Apple.baking and Inventory.apples < 10),
46
then=action(Order(apples=10)),
47
)
48
0 commit comments