Liking cljdoc? Tell your friends :D

code.query.match.impl


actual-patternclj

(actual-pattern expression)

constructs a pattern used for direct comparison

(actual-pattern '_)

(actual-pattern #{1 2 3})

constructs a pattern used for direct comparison

(actual-pattern '_)

(actual-pattern #{1 2 3})
raw docstring

actual-pattern?clj

(actual-pattern? pattern)
(actual-pattern? pattern expression)

checks if input is an actual pattern

(actual-pattern? '_) => false

(-> (actual-pattern '_) actual-pattern?) => true

checks if input is an actual pattern

(actual-pattern? '_) => false

(-> (actual-pattern '_)
    actual-pattern?)
=> true
raw docstring

eval-patternclj

(eval-pattern expression)

constructs a pattern that is evaluated before comparison

(eval-pattern '(keyword "a"))

(eval-pattern 'symbol?)

constructs a pattern that is evaluated before comparison

(eval-pattern '(keyword "a"))

(eval-pattern 'symbol?)
raw docstring

eval-pattern?clj

(eval-pattern? pattern)
(eval-pattern? pattern expression)

checks if input is an eval pattern

(-> (eval-pattern 'symbol?) eval-pattern?) => true

checks if input is an eval pattern

(-> (eval-pattern 'symbol?)
    eval-pattern?)
=> true
raw docstring

match-innerclj

(match-inner template arr)

matches the inner contents of a array

(match-inner [number? {:a {:b #'symbol?}} '& '_] [1 {:a {:b 'o}} 5 67 89 100]) => true

matches the inner contents of a array

(match-inner [number? {:a {:b #'symbol?}} '& '_]
             [1 {:a {:b 'o}} 5 67 89 100])
=> true
raw docstring

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

× close