(all? size pred target)
Determines if a sequence is of expected size and all entries pass the same predicate
Determines if a sequence is of expected size and all entries pass the same predicate
(count? size target)
Determines if sequence has expected size
Determines if sequence has expected size
(map-structure? keys-pred vals-pred target)
Verifies that a map has all keys of the same type and values of a same type.
Verifies that a map has all keys of the same type and values of a same type.
(nil-or? pred target)
Returns true if target is nil or passes predicate.
Returns true if target is nil or passes predicate.
(nilable pred)
Wraps a predicate in a function that allows either the predicate to pass, or nil be allowed.
Wraps a predicate in a function that allows either the predicate to pass, or nil be allowed.
(same-size? & xs)
Are the provided collections the same count?
Are the provided collections the same count?
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close