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

15 lines
357 B
JavaScript
Raw Normal View History

2023-11-02 02:38:40 +04:00
/**
* The base implementation of `_.gt` 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 greater than `other`,
* else `false`.
*/
function baseGt(value, other) {
return value > other;
}
module.exports = baseGt;