diff --git a/packages/core/client/src/schema-component/common/utils/logic.js b/packages/core/client/src/schema-component/common/utils/logic.js index 57236334d..fd3f84a61 100644 --- a/packages/core/client/src/schema-component/common/utils/logic.js +++ b/packages/core/client/src/schema-component/common/utils/logic.js @@ -65,12 +65,18 @@ http://ricostacruz.com/cheatsheets/umdjs.html $lte: function (a, b, c) { return c === undefined ? a <= b : a <= b && b <= c; }, + $exists: function (a) { + return jsonLogic.truthy(a); + }, $notEmpty: function (a) { return jsonLogic.truthy(a); }, $empty: function (a) { return !jsonLogic.truthy(a); }, + $notExists: function (a) { + return !jsonLogic.truthy(a); + }, '%': function (a, b) { return a % b; },