_.gte

_.gte(value, other)

Checks if value is greater than or equal to other.

Since

3.9.0

Arguments

  1. value (*): The value to compare.
  2. other (*): The other value to compare.

Returns

(boolean): Returns true if value is greater than or equal to other, else false.

Example

_.gte(3, 1);
// => true
 
_.gte(3, 3);
// => true
 
_.gte(1, 3);
// => false
doc_Lodash
2016-11-27 16:37:27
Comments
Leave a Comment

Please login to continue.