src/lib/gt.js
(function () {
'use strict';
this.export = function () {
/**
* Command: gt(3) - returns true for each value greater than an argument provided
* @author Alexey Ershov
*/
this.each = function (args, val) {
for (var i = 0; i < args.length; i++) {
if (val > args[i]) {
return true;
}
}
return false;
};
};
}).call(typeof module === 'undefined' ? this['cmd:lib'].gt = {} : this);