(check-expr chk v)
checks result given collections
(check-expr '_ :anything) => true
(check-expr [number? odd?] 1) => true
(check-expr (list 'odd? 'even?) [1 2]) => true
checks result given collections (check-expr '_ :anything) => true (check-expr [number? odd?] 1) => true (check-expr (list 'odd? 'even?) [1 2]) => true
(chk-expr-sym chk-sym v-sym)
checks result given symbol
(chk-expr-sym 'odd? 1) => true
(chk-expr-sym 'odd? 2) => false
checks result given symbol (chk-expr-sym 'odd? 1) => true (chk-expr-sym 'odd? 2) => false
(wrap-single-model-expression f)
controls the expressions allowed for searches
(pipeline/normalise {:account/name '(= "Chris")} {:schema (schema/schema examples/account-name-age-sex) :pipeline {:expression {:account {:name '(= "Chris")}}}} wrappers) => {:account {:name '(= "Chris")}}
(pipeline/normalise {:account/name '(= "Chris")} {:schema (schema/schema examples/account-name-age-sex) :pipeline {:expression {:account {:name '#{=}}}}} wrappers) => {:account {:name '(= "Chris")}}
controls the expressions allowed for searches (pipeline/normalise {:account/name '(= "Chris")} {:schema (schema/schema examples/account-name-age-sex) :pipeline {:expression {:account {:name '(= "Chris")}}}} *wrappers*) => {:account {:name '(= "Chris")}} (pipeline/normalise {:account/name '(= "Chris")} {:schema (schema/schema examples/account-name-age-sex) :pipeline {:expression {:account {:name '#{=}}}}} *wrappers*) => {:account {:name '(= "Chris")}}
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close