ClojureDocs

Nav

Namespaces

reset-vals!

clojure.core

Available since 1.9 (source)
  • (reset-vals! atom newval)
Sets the value of atom to newval. Returns [old new], the value of the
 atom before and after the reset.