cljs.pprint/fresh-line

functionsince v0.0-3255 clojure.pprint/fresh-lineEdit
(fresh-line)

Source docstring:
Make a newline if *out* is not already at the beginning of the line. If *out* is
not a pretty writer (which keeps track of columns), this function always outputs a newline.
Source code @ clojurescript:src/main/cljs/cljs/pprint.cljs
(defn fresh-line
  []
  (if (satisfies? IDeref *out*)
    (if (not (= 0 (get-column (:base @@*out*))))
      (prn))
    (prn)))