Liking cljdoc? Tell your friends :D
All platforms.

dk.simongray.wary-fetch.secret

Texts that print as #<secret> (e.g. a password or a token) so that a log or a REPL doesn't show them.

The reader can't read #<secret>. So a map with a hidden text that goes to a file as EDN fails to read back instead of coming back without its secret. A debugger or a browser's console still shows the text because it shows the fields of an object.

Texts that print as #<secret> (e.g. a password or a token) so that a log
or a REPL doesn't show them.

The reader can't read #<secret>. So a map with a hidden text that goes to
a file as EDN fails to read back instead of coming back without its
secret. A debugger or a browser's console still shows the text because
it shows the fields of an object.
raw docstring

hidden?clj/s

(hidden? x)

Whether x is a hidden text.

Whether `x` is a hidden text.
sourceraw docstring

hideclj/s

(hide s)

The text s as a value that the printer doesn't show. A hidden text stays as it is, and so does nil. Two hidden texts are equal when their texts are.

The text `s` as a value that the printer doesn't show. A hidden text
stays as it is, and so does nil. Two hidden texts are equal when their
texts are.
sourceraw docstring

revealclj/s

(reveal x)

The text that x hides. A value that isn't hidden stays as it is, so the function takes a plain text too.

The text that `x` hides. A value that isn't hidden stays as it is, so
the function takes a plain text too.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close