_baseLt.js 354 B

123456789101112131415
  1. /**
  2. * The base implementation of `_.lt` which doesn't coerce arguments.
  3. *
  4. * @private
  5. * @param {*} value The value to compare.
  6. * @param {*} other The other value to compare.
  7. * @returns {boolean} Returns `true` if `value` is less than `other`,
  8. * else `false`.
  9. */
  10. function baseLt(value, other) {
  11. return value < other;
  12. }
  13. module.exports = baseLt;