(a type)
Returns a matcher that expects an instance of the provided type.
Returns a matcher that expects an instance of the provided type.
(any)
Returns a matcher that expects any value.
Returns a matcher that expects any value.
(at-least value)
Returns a matcher that expects a value greater than or equal to the argument.
Returns a matcher that expects a value greater than or equal to the argument.
(at-most value)
Returns a matcher that expects a value less than or equal to the argument.
Returns a matcher that expects a value less than or equal to the argument.
(description matcher)
Describes a matcher by returning it's name and expectations.
Describes a matcher by returning it's name and expectations.
(exactly value)
Returns a matcher that expects an exact value.
Returns a matcher that expects an exact value.
(make name match-fn expected)
(make name match-fn expected description-fn)
Produces a new matcher instance.
Produces a new matcher instance.
(matches? matcher actual)
Returns whether the matcher accepts the actual value.
Returns whether the matcher accepts the actual value.
(pred pred-fn)
Returns a matcher that expects a value satisfying the provided predicate.
Returns a matcher that expects a value satisfying the provided predicate.
(str-ends-with suffix)
Returns a matcher that expects a string ending with the provided suffix.
Returns a matcher that expects a string ending with the provided suffix.
(str-includes substring)
Returns a matcher that expects a string containing the provided substring.
Returns a matcher that expects a string containing the provided substring.
(str-rexp regex)
Returns a matcher that expects a string matching the provided regular expression.
Returns a matcher that expects a string matching the provided regular expression.
(str-starts-with prefix)
Returns a matcher that expects a string starting with the provided prefix.
Returns a matcher that expects a string starting with the provided prefix.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close