Skip to main content

->>

macrov1.1

clojure.core/->>

Available in:BBCLJCLJS
(->> [x & forms])
Threads the expr through the forms. Inserts x as the last item in the first form, making a list of it if it is not a list already. If there are more forms, inserts the first form as the last item in second form, etc.

No examples yet. Be the first to add one!