Returns true if x is a volatile.
(def a (volatile! 0)) user=> (volatile? a) ;;=> true (def b 0) user=> (volatile? b) ;;=> false
Creates and returns a Volatile with an initial value of val.
Non-atomically swaps the value of the volatile as if: (apply f current-value-of-vol args). Return...
Sets the value of volatile to newval without regard for the current value. Returns newval.
volatile?