Liking cljdoc? Tell your friends :D

std.contract.type


checkclj

(check schema data)

checks that data fits the spec

checks that data fits the spec
raw docstring

combineclj

(combine sketch more)

combines spec schemas (usually maps)

combines spec schemas (usually maps)
raw docstring

common-specclj

(common-spec sketch & more)

creates a common spec

creates a common spec
raw docstring

common-spec-invokeclj

(common-spec-invoke spec)
(common-spec-invoke spec data)
(common-spec-invoke spec data _)

invokes the common spec

invokes the common spec
raw docstring

common-spec-stringclj

(common-spec-string spec)

displays the common spec

displays the common spec
raw docstring

defcasecljmacro

(defcase sym dispatch sketch & more)

adds an additional case to the multispec

adds an additional case to the multispec
raw docstring

defmultispeccljmacro

(defmultispec sym dispatch & pairs)

macro for defining a multispec

macro for defining a multispec
raw docstring

defspeccljmacro

(defspec sym sketch & more)

macro for defining a spec

macro for defining a spec
raw docstring

multi-gen-finalclj

(multi-gen-final dispatch options)

generates the final schema for a multispec

generates the final schema for a multispec
raw docstring

multi-specclj

(multi-spec dispatch options)

creates a multi spec

creates a multi spec
raw docstring

multi-spec-addclj

(multi-spec-add spec dispatch-val schema)

adds additional types to the multi spec

adds additional types to the multi spec
raw docstring

multi-spec-invokeclj

(multi-spec-invoke spec)
(multi-spec-invoke spec data)
(multi-spec-invoke spec data _)

invokes the multi spec

invokes the multi spec
raw docstring

multi-spec-removeclj

(multi-spec-remove spec dispatch-val)

removes additional types from the multi spec

removes additional types from the multi spec
raw docstring

multi-spec-stringclj

(multi-spec-string spec)

displays the multi spec

displays the multi spec
raw docstring

spec?clj

(spec? x)

checks that object is of type spec

checks that object is of type spec
raw docstring

valid?clj

(valid? spec data)

checks that data is valid

checks that data is valid
raw docstring

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

× close