source: frontend/node_modules/underscore/amd/negate.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 218 bytes
Line 
1define(function () {
2
3 // Returns a negated version of the passed-in predicate.
4 function negate(predicate) {
5 return function() {
6 return !predicate.apply(this, arguments);
7 };
8 }
9
10 return negate;
11
12});
Note: See TracBrowser for help on using the repository browser.