nl_tokens: / * ! Chai - pathval utility Copyright ( c ) 2012 - 2014 Jake Luer <jake@alogicalparadox . com > @see https : // github . com / logicalparadox / filtr MIT Licensed ### . hasProperty ( object name )
pl_tokens: function hasProperty ( obj , <mask> ) { if ( typeof obj === 'undefined' || obj === null ) { return false ; } // The `in` operator does not work with primitives. return name in Object ( obj ) ; }