mirror of
https://github.com/thangisme/notes.git
synced 2024-10-31 23:37:18 -04:00
15 lines
357 B
JavaScript
15 lines
357 B
JavaScript
/**
|
|
* 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;
|