clojure.core/some-fn¶
Takes a set of predicates and returns a function f that returns the first logical true value returned by one of its composing predicates against any of its arguments, else it returns logical false. Note that f is short-circuiting in that it will stop execution on the first argument that triggers a logical true result against the original predicates.
Examples¶
See also¶
- clojure.core/every-pred (2)
- clojure.core/some (15)
- clojure.core/some-> (0)
- clojure.core/some->>
- clojure.core/or (2)
- clojure.core/fnil (1)
Content from the matching ClojureDocs page, with authors credited on each contribution.