Liking cljdoc? Tell your friends :D
Clojure only.

progress.3rd-party


swap*!clj

(swap*! atom f & args)

Like [[clojure.core/swap!]] but returns a vector of [old-value new-value]. Adapted from this StackOverflow question.

Like [[clojure.core/swap!]] but returns a vector of `[old-value new-value]`.
Adapted from [this StackOverflow question](https://stackoverflow.com/a/22409846).
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