Creates a function that checks whether any of the predicates return truthy for the arguments it receives. Supports matches / matchesProperty shorthands. Part of Lodash Util since 4.0.0 (stable — not deprecated).
Pass the arguments shown below. Prefer modular imports when you only need this helper.
Syntax
Call _.overSome. Start with this line.
Lodash
_.overSome([predicates=[_.identity]])
Call
What it does
_.overSome([predicates=[_.identity]])
Primary signature.
_.overSome(...)
Call the util helper.
Prefer import overSome from "lodash/overSome" when you want a smaller bundle.
_.overSome is a Lodash Util helper since 4.0.0. It runs anywhere Lodash runs — modern browsers (CDN or bundle) and Node.js / Bun / Deno with npm install lodash.
✓ Stable · Lodash 4.0.0+
_.overSome()
Available in [email protected] full builds and the lodash/overSome modular import. Works in evergreen browsers and current Node LTS when Lodash is installed.
100%With Lodash 4.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
_.overSomeLodash 4.0.0+
Bottom line: Safe for production once Lodash is loaded. Prefer import overSome from "lodash/overSome" for smaller bundles.
Frequently Asked Questions
_.overSome(predicates) returns a new function. When you call it, Lodash runs the predicates with the same arguments and returns true if at least one result is truthy — logical OR.
overEvery requires all predicates to pass (AND). overSome requires only one to pass (OR).
Yes. A plain object becomes a _.matches predicate; an array [path, value] becomes _.matchesProperty. Official examples use both forms.
Boolean(null) is false, but global isFinite(null) is true (null coerces to 0). One truthy predicate is enough for overSome.
_.some(collection, predicate) asks if any element passes one predicate. _.overSome builds a combinator of several rules for the same value.
No. It is a stable Lodash Util method since 4.0.0.