odin-javascript-exercises/node_modules/lodash/_baseLt.js
2017-12-15 12:56:14 -06:00

14 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;