src/lib/gte.js
(function () {
'use strict';
this.export = function () {
/**
* Command: gte(5) - returns true for each value greater or equal to 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'].gte = {} : this);