Liking cljdoc? Tell your friends :D

xitdb.util.validation


lazy-seq?clj

(lazy-seq? v)
source

list-or-cons?clj

(list-or-cons? v)
source

validate-index-boundsclj

(validate-index-bounds i count operation-name)

Validates that index i is within bounds for a collection of given count. Throws IllegalArgumentException if out of bounds.

Validates that index i is within bounds for a collection of given count.
Throws IllegalArgumentException if out of bounds.
sourceraw docstring

validate-non-emptyclj

(validate-non-empty count operation-name)

Validates that a collection is not empty. Throws IllegalStateException if empty.

Validates that a collection is not empty.
Throws IllegalStateException if empty.
sourceraw docstring

validate-not-lazy-seqclj

(validate-not-lazy-seq v)

Validates that a value is not a lazy sequence. Throws IllegalArgumentException if it is a lazy sequence.

Validates that a value is not a lazy sequence.
Throws IllegalArgumentException if it is a lazy sequence.
sourceraw docstring

validate-supported-typeclj

(validate-supported-type v)

Validates that a type is supported for conversion. Throws IllegalArgumentException for unsupported types.

Validates that a type is supported for conversion.
Throws IllegalArgumentException for unsupported types.
sourceraw docstring

vector-or-chunked?clj

(vector-or-chunked? v)
source

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

× close