(protocol-node? var)
(protocol-node? var m)
Returns true if the var maps to a protocol function
Source
(defn protocol-node?
"Returns true if the var maps to a protocol function"
([var] (protocol-node? var nil))
([var m]
(boolean (:protocol (or m (meta var))))))