mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 19:37:49 +00:00
Remove references to _.
This commit is contained in:
9
gt.js
9
gt.js
@@ -5,23 +5,22 @@ import createRelationalOperation from './_createRelationalOperation.js';
|
||||
* Checks if `value` is greater than `other`.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 3.9.0
|
||||
* @category Lang
|
||||
* @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`.
|
||||
* @see _.lt
|
||||
* @see lt
|
||||
* @example
|
||||
*
|
||||
* _.gt(3, 1);
|
||||
* gt(3, 1);
|
||||
* // => true
|
||||
*
|
||||
* _.gt(3, 3);
|
||||
* gt(3, 3);
|
||||
* // => false
|
||||
*
|
||||
* _.gt(1, 3);
|
||||
* gt(1, 3);
|
||||
* // => false
|
||||
*/
|
||||
const gt = createRelationalOperation(baseGt);
|
||||
|
||||
Reference in New Issue
Block a user