Files
logseq/src/main/frontend/debug.cljs
Gabriel Horner 1f0e22275d Add ns docstrings for most ns in src/main
- Added to CI now that it passes
- Added no-doc for docstrings that don't add any more than what's in the
ns name or for ones where I didn't know the ns that well
2022-09-27 13:55:16 +08:00

11 lines
235 B
Clojure

(ns frontend.debug
"Fns that are useful for debugging"
(:require [cljs.pprint :as pprint]
[frontend.state :as state]))
(defn pprint
[& xs]
(when (state/developer-mode?)
(doseq [x xs]
(pprint/pprint x))))