diff --git a/logic.js b/logic.js old mode 100644 new mode 100755 index db477b1..f5a1de1 --- a/logic.js +++ b/logic.js @@ -42,6 +42,7 @@ var jsonLogic = {}, "!==" : function(a,b){ return a !== b; }, ">" : function(a,b){ return a > b; }, ">=" : function(a,b){ return a >= b; }, + "typeof" : function(a,b) { return typeof a === b; }, "<" : function(a,b,c){ return (c === undefined) ? a < b : (a < b) && (b < c); },