Skip to main content

with-out-str

macrov1.7

cljs.core/with-out-str

Available in:BBCLJCLJS
(with-out-str [& body])
Evaluates exprs in a context in which *print-fn* is bound to .append on a fresh StringBuffer. Returns the string created by any nested printing calls.

No examples yet. Be the first to add one!