Liking cljdoc? Tell your friends :D

hydrox.doc.checks


attribute?clj

(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
sourceraw docstring

code-directive?clj

(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
sourceraw docstring

comment?clj

(comment? zloc)

checks if the element is a comment form

checks if the element is a comment form
sourceraw docstring

deftest?clj

(deftest? zloc)
source

directive?clj

(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
sourceraw docstring

directivesclj

source

fact?clj

(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
sourceraw docstring

facts?clj

(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
sourceraw docstring

is?clj

(is? zloc)
source

ns?clj

(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
sourceraw docstring

paragraph?clj

(paragraph? zloc)

checks if the element is a paragraph (string)

checks if the element is a paragraph (string)
sourceraw docstring

whitespace?clj

(whitespace? zloc)

checks if the element is a whitespace element

checks if the element is a whitespace element
sourceraw docstring

wrap-metaclj

(wrap-meta f)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close