mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Bump to v4.11.2.
This commit is contained in:
8
gt.js
8
gt.js
@@ -1,3 +1,6 @@
|
||||
var baseGt = require('./_baseGt'),
|
||||
createRelationalOperation = require('./_createRelationalOperation');
|
||||
|
||||
/**
|
||||
* Checks if `value` is greater than `other`.
|
||||
*
|
||||
@@ -9,6 +12,7 @@
|
||||
* @param {*} other The other value to compare.
|
||||
* @returns {boolean} Returns `true` if `value` is greater than `other`,
|
||||
* else `false`.
|
||||
* @see _.lt
|
||||
* @example
|
||||
*
|
||||
* _.gt(3, 1);
|
||||
@@ -20,8 +24,6 @@
|
||||
* _.gt(1, 3);
|
||||
* // => false
|
||||
*/
|
||||
function gt(value, other) {
|
||||
return value > other;
|
||||
}
|
||||
var gt = createRelationalOperation(baseGt);
|
||||
|
||||
module.exports = gt;
|
||||
|
||||
Reference in New Issue
Block a user