CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes48downloads
lte.js31 linesDownload Raw Back to lodash
1var createRelationalOperation = require('./_createRelationalOperation');2 3/**4 * Checks if `value` is less than or equal to `other`.5 *6 * @static7 * @memberOf _8 * @since 3.9.09 * @category Lang10 * @param {*} value The value to compare.11 * @param {*} other The other value to compare.12 * @returns {boolean} Returns `true` if `value` is less than or equal to13 *  `other`, else `false`.14 * @see _.gte15 * @example16 *17 * _.lte(1, 3);18 * // => true19 *20 * _.lte(3, 3);21 * // => true22 *23 * _.lte(3, 1);24 * // => false25 */26var lte = createRelationalOperation(function(value, other) {27  return value <= other;28});29 30module.exports = lte;31