_.isFunction 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.
✓ Stable · Lodash 0.1.0+
_.isFunction()
Available in [email protected] full builds and the lodash/isFunction 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
_.isFunctionLodash 0.1.0+
Bottom line: Safe for production once Lodash is loaded. Prefer import isFunction from "lodash/isFunction". typeof value === "function" is a fine native alternative for most apps.
Frequently Asked Questions
_.isFunction(value) returns true if value is classified as a Function object, otherwise false.
Yes. Arrows, async functions, and generators are all treated as functions.
A class declaration creates a callable constructor function, so Lodash returns true.
No. _.isFunction(/abc/) is false — that is the official contrast example.
They usually agree. Lodash uses internal tags for consistent classification across engines and function kinds.
Use import isFunction from "lodash/isFunction" or require("lodash/isFunction") for tree-shaking. Full build: import _ from "lodash" then _.isFunction.