Skip to content

clojure.core/some->

View this page on ClojureDocs

Type: macro Added: Clojure 1.5 Examples: 2 Runnable: 0
([expr & forms])

When expr is not nil, threads it into the first form (via ->), and when that result is not nil, through the next etc

Examples

by boxp on . May have evaluation errors.
by marick on . May have evaluation errors.

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.