Equality predicates compare values and return boolean based on the result
Equality predicates compare values and return boolean based on the result
(<-fn v)
(<-fn path v)
(<=-fn v)
(<=-fn path v)
(>-fn v)
(>-fn path v)
(>=-fn v)
(>=-fn path v)
(contains?-fn text)
(contains?-fn path value)
Returns pred fn that accepts any type data.
Pred will return true if value
exists in that data.
If path
is supplied it will consider value under path for comparison
Returns pred fn that accepts any type data. Pred will return true if `value` exists in that data. If `path` is supplied it will consider value under path for comparison
(ends-with?-fn text)
(ends-with?-fn path text)
Returns pred fn that accepts string.
Pred will return true if that string ends with text
.
If path
is supplied it will consider value under path for comparison
Returns pred fn that accepts string. Pred will return true if that string ends with `text`. If `path` is supplied it will consider value under path for comparison
Each predicate return boolean if comparison with pred-fn input can be done
Each predicate return boolean if comparison with pred-fn input can be done
(false?-fn)
(false?-fn path)
Returns predicate fn that as a param accepts a value that if equals to false will return true.
If path
is supplied it will consider value under path for comparison
Returns predicate fn that as a param accepts a value that if equals to false will return true. If `path` is supplied it will consider value under path for comparison
(is-empty?-fn)
(is-empty?-fn path)
Returns predicate fn that as a param accepts value which if nil or empty collection will return true.
If path
is supplied it will consider value under path for comparison
Returns predicate fn that as a param accepts value which if nil or empty collection will return true. If `path` is supplied it will consider value under path for comparison
(is?-fn v)
(is?-fn path v)
Returns predicate function that sa a param accepts value
which will be compared with v
and return true if it's equal, false if it's not.
If path
is supplied it will consider value under path for comparison
Returns predicate function that sa a param accepts value which will be compared with `v` and return true if it's equal, false if it's not. If `path` is supplied it will consider value under path for comparison
(one-of?-fn vs)
(one-of?-fn path vs)
Returns predicate function that as a param accepts value which is compared with values in vs
. If any of them are equal, predicate will return true.
If path
is supplied it will consider value under path for comparison
Returns predicate function that as a param accepts value which is compared with values in `vs`. If any of them are equal, predicate will return true. If `path` is supplied it will consider value under path for comparison
(starts-with?-fn text)
(starts-with?-fn path text)
Returns pred fn that accepts string.
Pred will return true if that string starts with text
.
If path
is supplied it will consider value under path for comparison
Returns pred fn that accepts string. Pred will return true if that string starts with `text`. If `path` is supplied it will consider value under path for comparison
(true?-fn)
(true?-fn path)
Returns predicate fn that as a param accepts a value that if equals to true will return true.
If path
is supplied it will consider value under path for comparison
Returns predicate fn that as a param accepts a value that if equals to true will return true. If `path` is supplied it will consider value under path for comparison
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close