cs142/project3/node_modules/lodash/_baseLt.js
2020-08-01 19:26:11 -03:00

15 lines
354 B
JavaScript

/**
* The base implementation of `_.lt` which doesn't coerce arguments.
*
* @private
* @param {*} value The value to compare.
* @param {*} other The other value to compare.
* @returns {boolean} Returns `true` if `value` is less than `other`,
* else `false`.
*/
function baseLt(value, other) {
return value < other;
}
module.exports = baseLt;