Example 1 — Official: Any Truthy Value
Use Boolean as the predicate to detect any truthy element.
_.some([null, 0, "yes", false], Boolean);
// → true How It Works
- Scan. Start at
nulland0— both falsy. - Hit.
"yes"is truthy → predicate succeeds. - Stop. Lodash returns
truewithout checkingfalse. - Identity tip. Omitting the predicate uses identity — same idea for mixed lists.

