_.gte is a Lodash Lang helper (added in 3.7.0, stable in 4.x). It runs anywhere Lodash runs — modern browsers (via CDN or bundle) and Node.js / Bun / Deno with npm install lodash.
✓ Stable · Lodash 3.7.0+
_.gte()
Available in [email protected] full builds and the lodash/gte modular import. Works in evergreen browsers and current Node LTS when Lodash is installed.
100%With Lodash 3.7.0+
Google ChromeSupported · Desktop & Mobile
Full support
Mozilla FirefoxSupported · Desktop & Mobile
Full support
Apple SafariSupported · macOS & iOS
Full support
Microsoft EdgeSupported · Chromium
Full support
Internet ExplorerNo native support · Use a polyfill
Polyfill
OperaSupported · Modern versions
Full support
Samsung InternetSupported · Android
Full support
BunSupported · JavaScript runtime
Supported
DenoSupported · JavaScript runtime
Supported
Node.jsSupported · Server runtime
Supported
Android WebViewSupported · Modern WebView
Full support
_.gteLodash 3.7.0+
Bottom line: Safe for production once Lodash is on the page or in your bundle. Prefer import gte from "lodash/gte" for smaller builds. Native value >= other is equivalent when you do not need a named Lodash predicate.
Frequently Asked Questions
_.gte(value, other) returns true when value is greater than or equal to other, using the same rules as JavaScript’s >= operator.
Yes. Lodash’s gte uses the language’s greater-than-or-equal comparison, so the boolean matches >= for the same operands.
_.gte(a, b) is true when a > b or when a and b compare as equal. _.gt is true only when strictly greater — equal values fail.
Ordered comparisons with NaN are always false in JavaScript, including >= and <=.
Use it for inclusive thresholds — minimum scores, ages, deadlines on or after a date — or as a named predicate in callbacks alongside other Lodash lang helpers.
Use import gte from "lodash/gte" or require("lodash/gte") for tree-shaking friendly bundles. Full build: import _ from "lodash" then _.gte.