Date

“Lang” Methods

_.gt(value, other)

source npm package

Checks if value is greater than other.

引入版本

3.9.0

参数
value (*) : The value to compare.
other (*) : The other value to compare.

返回值
(boolean) : Returns true if value is greater than other, else false.

示例
_.gt(3, 1);
// => true
 
_.gt(3, 3);
// => false
 
_.gt(1, 3);
// => false