Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

gt.js 596B

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