Namespaces

 
1.0.0-SNAPSHOT permalink Arrow_down_16x16
  • (attr-values node attr)
Returns the whitespace-separated values of the specified attr as a set or nil.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source net/cgrand/enlive_html.clj:226 top

(defn attr-values 
 "Returns the whitespace-separated values of the specified attr as a set or nil."
 [node attr]
  (when-let [v (-> node :attrs (get attr))]
    (set (re-seq #"\S+" v))))
Vars in net.cgrand.enlive-html/attr-values: defn re-seq set when-let
Used in 0 other vars

Comments top

No comments for attr-values. Log in to add a comment.