_.gte

Checks if value is greater than or equal to other.

  1. // Lodash
  2. console.log(_.gte(3, 1))
  3. // output: true
  4.  
  5. // Native
  6. console.log(3 >= 1);
  7. // output: true

Browser Support

ChromeEdgeFirefoxIEOperaSafari