(pprint-var x)
Same as print-var, but uses pprint.
Same as print-var, but uses pprint.
(print-var x)
Prints x's symbol followed by its value. Example: Given a symbol 'some-var with the value 100, (print-var some-var) prints "some-var 100", followed by a newline. Useful for development / debugging.
Prints x's symbol followed by its value. Example: Given a symbol 'some-var with the value 100, (print-var some-var) prints "some-var 100", followed by a newline. Useful for development / debugging.
(time-ms expr)
Like Clojure's time fn, but instead of printing, returns a map of :time, :result.
Like Clojure's time fn, but instead of printing, returns a map of :time, :result.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close