store/[org.clojure/clojure "1.8.0"] clj::clojure.core/reset!

Official Documentation

Add notes
Arities
==================================================
   [atom newval]

Docstring
==================================================
  Sets the value of atom to newval without regard for the
  current value. Returns newval.

Source

(defn reset!
  "Sets the value of atom to newval without regard for the
  current value. Returns newval."
  {:added "1.0"
   :static true}
  [^clojure.lang.IAtom atom newval] (.reset atom newval))

Example 1

Edit
(def x (atom 10))
;; => #'user/x

@x
;; => 10

(reset! x 20)
;; => 20

@x
;; => 20

Uses on crossclj