function | since v0.0-927 | clojure.core/deref | Edit |
(deref o)
Returns the current value at the given atom.
The @
reader macro is often used instead of deref
. @foo
is the same thing
as (deref foo)
.
Also reader macro: @var/@atom/@delay. Returns the most-recently-committed value of ref. When applied to a var or atom, returns its current state. When applied to a delay, forces it if not already forced. See also - realized?.
(defn deref
[o]
(-deref o))