internet-programming/lab3/node_modules/lodash/_baseLt.js

15 lines
354 B
JavaScript
Raw Normal View History

2023-11-02 02:38:40 +04: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;