Namespaces

 
1.0.0-SNAPSHOT permalink Arrow_down_16x16
  • (pred f)
Turns a predicate function on elements into a predicate-step usable in selectors.

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:238 top

(defn pred 
 "Turns a predicate function on elements into a predicate-step usable in selectors."
 [f]
  (zip-pred #(f (z/node %))))
Vars in net.cgrand.enlive-html/pred: defn
Used in 0 other vars

Comments top

No comments for pred. Log in to add a comment.