X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=node_modules%2Fgrunt-legacy-log%2Fnode_modules%2Flodash%2Flang%2Flte.js;fp=node_modules%2Fgrunt-legacy-log%2Fnode_modules%2Flodash%2Flang%2Flte.js;h=e2b8ab15a063ee17c5f48e6a0427eab4723a6cbb;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/node_modules/grunt-legacy-log/node_modules/lodash/lang/lte.js b/node_modules/grunt-legacy-log/node_modules/lodash/lang/lte.js new file mode 100644 index 000000000..e2b8ab15a --- /dev/null +++ b/node_modules/grunt-legacy-log/node_modules/lodash/lang/lte.js @@ -0,0 +1,25 @@ +/** + * Checks if `value` is less than or equal to `other`. + * + * @static + * @memberOf _ + * @category Lang + * @param {*} value The value to compare. + * @param {*} other The other value to compare. + * @returns {boolean} Returns `true` if `value` is less than or equal to `other`, else `false`. + * @example + * + * _.lte(1, 3); + * // => true + * + * _.lte(3, 3); + * // => true + * + * _.lte(3, 1); + * // => false + */ +function lte(value, other) { + return value <= other; +} + +module.exports = lte;