Liking cljdoc? Tell your friends :D

debug.print

Display stuff in a pretty way (depending on the platform)

Display stuff in a pretty way (depending on the platform)
raw docstring

group-beginclj/s

(group-begin name)
source

group-begin-collapsedclj/s

(group-begin-collapsed name)
source

group-endclj/s

(group-end name)
source

pretty-printclj/s

(pretty-print arg)

Display the given value, in a pretty way (depending on the platform) and return it

Usage:

 (fn [arg]
-  (do-stuff arg))
+  (pretty-print (do-stuff arg)))
Display the given value, in a pretty way (depending on the platform) and return it

Usage:

```diff
 (fn [arg]
-  (do-stuff arg))
+  (pretty-print (do-stuff arg)))
```
sourceraw docstring

(print-group label arg)

Display a value in a grouped output and return it

Usage:

 (fn [arg]
-  (do-stuff arg))
+  (print-group "label" (do-stuff arg)))
Display a value in a grouped output and return it

Usage:

```diff
 (fn [arg]
-  (do-stuff arg))
+  (print-group "label" (do-stuff arg)))
```
sourceraw docstring

spyclj/s

(spy arg)

Display the type and the value of the given value and return it

Usage:

 (fn [arg]
-  (do-stuff arg))
+  (spy (do-stuff arg)))
Display the type and the value of the given value and return it

Usage:

```diff
 (fn [arg]
-  (do-stuff arg))
+  (spy (do-stuff arg)))
```
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close