Lobashov_Ivan_PIBD-21_IP/Lab3/node_modules/lodash/_baseGt.js

15 lines
357 B
JavaScript
Raw Normal View History

2024-01-10 22:39:31 +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;