_.isFinite is a Lodash Lang helper (since 0.1.0). It runs anywhere Lodash 4.x runs — modern browsers (CDN or bundle) and Node.js / Bun / Deno with npm install lodash. Behavior aligns with Number.isFinite.
✓ Stable · Lodash 0.1.0+
_.isFinite()
Available in [email protected] full builds and the lodash/isFinite modular import. Works in evergreen browsers and current Node LTS when Lodash is installed.
100%With Lodash 4.x
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
_.isFiniteLodash 0.1.0+
Bottom line: Safe for production once Lodash is loaded. Prefer import isFinite from "lodash/isFinite". Native Number.isFinite is a fine alternative when Lodash is not needed.
Frequently Asked Questions
_.isFinite(value) returns true if value is a finite primitive number — not Infinity, -Infinity, or NaN, and not a coerced string.
Global isFinite coerces values (isFinite("3") is true). Lodash does not coerce — _.isFinite("3") is false. It follows Number.isFinite.
Yes for everyday inputs. Lodash documents that this method is based on Number.isFinite.
No. Boxed numbers have typeof "object". Lodash expects a primitive number.
Yes. Negative zero is still a finite number, so _.isFinite(-0) is true.
Use import isFinite from "lodash/isFinite" or require("lodash/isFinite") for tree-shaking. Full build: import _ from "lodash" then _.isFinite.