We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e100129 commit eaf1425Copy full SHA for eaf1425
lib/schema/array.js
@@ -637,7 +637,7 @@ handle.$or = createLogicalQueryOperatorHandler('$or');
637
handle.$and = createLogicalQueryOperatorHandler('$and');
638
handle.$nor = createLogicalQueryOperatorHandler('$nor');
639
640
-function createLogicalQueryOperatorHandler(op, context) {
+function createLogicalQueryOperatorHandler(op) {
641
return function logicalQueryOperatorHandler(val, context) {
642
if (!Array.isArray(val)) {
643
throw new TypeError('conditional ' + op + ' requires an array');
0 commit comments