Liking cljdoc? Tell your friends :D

common-beer-format.core

A collection of handy functions to utilize the specs in this library

A collection of handy functions to utilize the specs in this library
raw docstring

coerceclj/s

(coerce spec data)

Coerce data to a given spec while eliminating non-conforming keys and values

Coerce `data` to a given `spec` while eliminating non-conforming keys and values
sourceraw docstring

conformclj/s

(conform spec data)

Conform data to a given spec while eliminating non-conforming keys and values

Conform `data` to a given `spec` while eliminating non-conforming keys and values
sourceraw docstring

explainclj/s

(explain spec data)

Explain why data does not conform to spec as a human readable string

Explain why `data` does not conform to `spec` as a human readable string
sourceraw docstring

explain-dataclj/s

(explain-data spec data)

Explain why data does not conform to spec with a map of information

Explain why `data` does not conform to `spec` with a map of information
sourceraw docstring

invalid?clj/s

(invalid? spec data)

Returns false when data conforms to spec, and true otherwise

Returns false when `data` conforms to `spec`, and true otherwise
sourceraw docstring

spec-descriptionclj/s

(spec-description spec)

Describe a spec

Describe a `spec`
sourceraw docstring

valid?clj/s

(valid? spec data)

Returns true when data conforms to spec, and false otherwise

Returns true when `data` conforms to `spec`, and false otherwise
sourceraw docstring

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

× close