(attribute? zloc)
checks if the element is an attribute.
(-> "[[{:title "A Story"}]]" z/of-string attribute?) => true
checks if the element is an attribute. (-> "[[{:title \"A Story\"}]]" z/of-string attribute?) => true
(code-directive? zloc)
checks if the element is a code directive
(-> "[[:code {:type :javascript} "1 + 1 == 2"]]" z/of-string code-directive?) => true
checks if the element is a code directive (-> "[[:code {:type :javascript} \"1 + 1 == 2\"]]" z/of-string code-directive?) => true
(comment? zloc)
checks if the element is a comment form
checks if the element is a comment form
(directive? zloc)
(directive? zloc kw)
checks if the element is a directive.
(-> "[[:chapter {:title "A Story"}]]" z/of-string directive?) => true
checks if the element is a directive. (-> "[[:chapter {:title \"A Story\"}]]" z/of-string directive?) => true
(fact? zloc)
checks if the element is a fact form
(-> "(fact ...)" z/of-string fact?) => true
checks if the element is a fact form (-> "(fact ...)" z/of-string fact?) => true
(facts? zloc)
checks if the element is a facts form
(-> "(facts ...)" z/of-string facts?) => true
checks if the element is a facts form (-> "(facts ...)" z/of-string facts?) => true
(ns? zloc)
checks if the element is a ns form
(-> "(ns ...)" z/of-string ns?) => true
checks if the element is a ns form (-> "(ns ...)" z/of-string ns?) => true
(paragraph? zloc)
checks if the element is a paragraph (string)
checks if the element is a paragraph (string)
(whitespace? zloc)
checks if the element is a whitespace element
checks if the element is a whitespace element
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close