UI for Zipcoin Blue

12345678910111213141516171819202122232425262728293031
  1. var createRelationalOperation = require('./_createRelationalOperation');
  2. /**
  3. * Checks if `value` is greater than or equal to `other`.
  4. *
  5. * @static
  6. * @memberOf _
  7. * @since 3.9.0
  8. * @category Lang
  9. * @param {*} value The value to compare.
  10. * @param {*} other The other value to compare.
  11. * @returns {boolean} Returns `true` if `value` is greater than or equal to
  12. * `other`, else `false`.
  13. * @see _.lte
  14. * @example
  15. *
  16. * _.gte(3, 1);
  17. * // => true
  18. *
  19. * _.gte(3, 3);
  20. * // => true
  21. *
  22. * _.gte(1, 3);
  23. * // => false
  24. */
  25. var gte = createRelationalOperation(function(value, other) {
  26. return value >= other;
  27. });
  28. module.exports = gte;