(dbg x)
Useful debugging macro that prints the source and value of x, as well as package name and line number. Returns x.
Useful debugging macro that prints the source and value of x, as well as package name and line number. Returns x.
(dev?)
True if assertions are enabled.
True if assertions are enabled.
(error & forms)
Print with console.error.
Print with console.error.
(log & forms)
Print with console.log, if it exists.
Print with console.log, if it exists.
(println & forms)
Print string with console.log
Print string with console.log
(prn & forms)
Like standard prn, but prints using console.log (so that we get nice clickable links to source in modern browsers).
Like standard prn, but prints using console.log (so that we get nice clickable links to source in modern browsers).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close