Urara-Blog/node_modules/.pnpm-store/v3/files/27/c99df98900c18ff405b421818fba2b5739362e2fb23190a9015fa867db62c8a064171edeeb5cf283108f64944fdaeff411f4bc01a71ad7cd91dd93ec8129f7
2022-08-14 01:14:53 +08:00

30 lines
635 B
Text

var createRelationalOperation = require('./_createRelationalOperation');
/**
* Checks if `value` is greater than or equal to `other`.
*
* @static
* @memberOf _
* @since 3.9.0
* @category Lang
* @param {*} value The value to compare.
* @param {*} other The other value to compare.
* @returns {boolean} Returns `true` if `value` is greater than or equal to
* `other`, else `false`.
* @see _.lte
* @example
*
* _.gte(3, 1);
* // => true
*
* _.gte(3, 3);
* // => true
*
* _.gte(1, 3);
* // => false
*/
var gte = createRelationalOperation(function(value, other) {
return value >= other;
});
module.exports = gte;