Causes the multimethod to prefer matches of dispatch-val-x over dispatch-val-y
when there is a conflict
(defn prefer-method
"Causes the multimethod to prefer matches of dispatch-val-x over dispatch-val-y
when there is a conflict"
{:added "1.0"}
[^clojure.lang.MultiFn multifn dispatch-val-x dispatch-val-y]
(. multifn preferMethod dispatch-val-x dispatch-val-y))
Comments top
No comments for prefer-method. Log in to add a comment.