branch?

clojure.zip

  • (branch? loc)
Returns true if the node at loc is a branch

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 clojure/zip.clj:69 top

(defn branch?
  "Returns true if the node at loc is a branch"
  {:added "1.0"}
  [loc]
    ((:zip/branch? (meta loc)) (node loc)))
Vars in clojure.zip/branch?:
Used in 0 other vars

Comments top

No comments for branch?. Log in to add a comment.