Last updated 5 years ago
Was this helpful?
语法:
_.gte(value, other)
源代码链接:
npm包链接:
描述:
检查value是否大于或者等于other。
value
other
开始版本:3.9.0
参数:
value (*): 要比较的值。
value (*)
other (*): 另一个要比较的值。
other (*)
返回值:
(boolean): 如果value 大于或者等于 other 返回 true,否则返回 false。
(boolean)
例子:
_.gte(3, 1); // => true _.gte(3, 3); // => true _.gte(1, 3); // => false