(add-advisor! advisor)
(advise context)
(advise context advisors)
Adds advice to a context such as {:form [:div]}
.
Advice recommends a kind {:form [:div], :value [:div], :kind :kindly/hiccup}
.
Works best with both form and value because metadata may appear on either.
If no value is present, will evaluate :form
and populate :value
and :kind
.
Adds advice to a context such as `{:form [:div]}`. Advice recommends a kind `{:form [:div], :value [:div], :kind :kindly/hiccup}`. Works best with both form and value because metadata may appear on either. If no value is present, will evaluate `:form` and populate `:value` and `:kind`.
(set-advisors! advisors)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close