(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |