text: // Wrapped for node compatibility
  
  var Is=function(a){return new jumpkick.Is(a)},jumpkick;!function(a){var b=function(){function a(a,b,c){this.value=a,this.inverse=b,this.property=c,this.inverse=b||this.inverse,this.originalValue=a}return Object.defineProperty(a.prototype,"not",{get:function(){return this.inverse=!0,this},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"a",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"and",{get:function(){return this},enumerable:!0,configurable:!0}),a.prototype.isNot=function(){return this.inverse=!0,this},a.prototype.isA=function(){return this},Object.defineProperty(a.prototype,"or",{get:function(){return this.testingAny=!0,this},enumerable:!0,configurable:!0}),a.prototype.nothing=function(){return!this.value&&!this.testingAny},a.prototype.matching=function(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];if(this.nothing())return this;for(var c=!this.inverse,d=0;d<a.length;d++){var e=a[d];if("NaN"==e.toString())isNaN(this.getPropertyOrValue())||(c=this.inverse);else if("function"==typeof e)a[d](this.getPropertyOrValue())||(c=this.inverse);else{if(e.indexOf("<")>-1||e.indexOf(">")>-1)return this.checkForLengthOrCompareNumber(e);e&&(c=this.equalTo(e).value?!this.inverse:this.inverse)}}return this.getReturnedInstance(c?!0:!1)},a.prototype.getReturnedInstance=function(a){return a?this.value||(this.value=this.originalValue):this.value=null,this.inverse=!1,this.property=null,this.testingAny=!1,this},a.prototype.checkForLengthOrCompareNumber=function(a){if(a.indexOf("<")>-1){var b=a.split("<");if(""==b[0])return this.lessThan(parseInt(b[1]));if("length"==b[0])return this.shorterThan(parseInt(b[1]))}else if(a.indexOf(">")>-1){var b=a.split(">");if(""==b[0])return this.greaterThan(parseInt(b[1]));if("length"==b[0])return this.longerThan(parseInt(b[1]))}},a.prototype.matchingAny=function(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];if(this.nothing())return this;for(var c=0,d=0;d<a.length;d++){var e=a[d];"NaN"==e.toString()?isNaN(this.getPropertyOrValue())&&c++:"function"==typeof e?a[d](this.getPropertyOrValue())&&c++:e.indexOf("<")>-1||e.indexOf(">")>-1?this.checkForLengthOrCompareNumber(e).value&&c++:e&&(c+=this.equalTo(e).value?1:0)}return this.getReturnedInstance(c>0&&!this.inverse||0==c&&this.inverse?!0:!1)},a.prototype.longerThan=function(a){return this.nothing()?this:this.getReturnedInstance(this.inverse?this.getPropertyOrValue().toString().length<a?!0:!1:this.getPropertyOrValue().toString().length>a?!0:!1)},a.prototype.shorterThan=function(a){return this.nothing()?this:this.getReturnedInstance(this.inverse?this.getPropertyOrValue().toString().length>a?!0:!1:this.getPropertyOrValue().toString().length<a?!0:!1)},a.prototype.equalTo=function(a){return this.nothing()?this:this.getReturnedInstance(this.inverse?this.getPropertyOrValue()!=a?!0:!1:this.getPropertyOrValue()===a?!0:!1)},a.prototype.numeric=function(){return this.nothing()?this:this.getReturnedInstance(this.inverse?"number"!=typeof this.getPropertyOrValue()?!0:!1:"number"==typeof this.getPropertyOrValue()?!0:!1)},a.prototype.lessThan=function(a){return this.nothing()?this:this.getReturnedInstance(this.inverse?this.getPropertyOrValue()>=a?!0:!1:this.getPropertyOrValue()<a?!0:!1)},a.prototype.greaterThan=function(a){return this.nothing()?this:this.getReturnedInstance(this.inverse?this.getPropertyOrValue()<=a?!0:!1:this.getPropertyOrValue()>a?!0:!1)},a.prototype.contains=function(a){return this.nothing()?this:Array.isArray(this.getPropertyOrValue())?this.getReturnedInstance(this.inverse?-1==this.getPropertyOrValue().indexOf(a)?!0:!1:this.getPropertyOrValue().indexOf(a)>-1?!0:!1):this},a.prototype.emptyArray=function(){return this.nothing()?this:Array.isArray(this.getPropertyOrValue())?this.getReturnedInstance(this.inverse?this.getPropertyOrValue().length>0?!0:!1:0==this.getPropertyOrValue().length?!0:!1):this},a.prototype.getPropertyOrValue=function(){return this.testingAny?this.property?this.originalValue[this.property]:this.originalValue:this.property?this.value[this.property]:this.value},a.prototype.prop=function(a){return this.nothing()?this.getReturnedInstance(!1):(this.testingAny?this.originalValue[a]:this.value[a])?(this.property=a,this):this.getReturnedInstance(!1)},a.prototype.then=function(b){return this.value?(b(),new a(this.value)):this},a.prototype.catch=function(b){return this.value||b(),new a(this.value)},a.prototype.finally=function(b){return b(),new a(this.value)},a}();a.Is=b}(jumpkick||(jumpkick={}));
  module.exports = Is;
  