(get-validator iref)
Returns the validator function for atom a.
a
Gets the validator-fn for a var/ref/agent/atom.
(defn get-validator [iref] (.-validator iref))