odin-javascript-exercises/node_modules/lodash/_baseLt.js

15 lines
354 B
JavaScript
Raw Normal View History

2017-12-15 10:56:14 -08:00
/**
* 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;