Skip to content

Commit 1b97403

Browse files
committed
Use 'not' condition in example 02
1 parent 0132eb2 commit 1b97403

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

examples/02-nested-boolean-logic.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,11 @@ async function start () {
3838
operator: 'equal',
3939
value: 48
4040
}, {
41-
fact: 'personalFoulCount',
42-
operator: 'greaterThanInclusive',
43-
value: 6
41+
not: {
42+
fact: 'personalFoulCount',
43+
operator: 'lessThan',
44+
value: 6
45+
}
4446
}]
4547
}]
4648
},

0 commit comments

Comments
 (0)