Liking cljdoc? Tell your friends :D

computesoftware.spec-helpers


__*spec->metaclj/s


alias2clj

(alias2 alias-sym ns-sym)

and-clj/smacro

(and- & pred-forms)

Same as s/and except all predicates take the 'raw' value instead of the conformed value.

Same as s/and except all predicates take the 'raw' value instead of the conformed
value.
raw docstring

char-code-forclj/s

(char-code-for s)

A number representing the UTF-16 code unit value of s. s must be a string of length 1.

A number representing the UTF-16 code unit value of s. s must be a string
of length 1.
raw docstring

cleanup-check-resultclj

(cleanup-check-result result)

closed-multi-specclj/smacro

(closed-multi-spec name dispatch-key dispatch->spec)

date-generatorclj/s

(date-generator {:keys [min-date max-date]
                 :or {min-date #inst "1900-01-01T00:00:00.000-00:00"
                      max-date #inst "3000-01-01T00:00:00.000-00:00"}})

double-max-valueclj/s


double-min-valueclj/s


duration-generatorclj

(duration-generator {:keys [min-duration max-duration]
                     :or {min-duration Duration/ZERO
                          max-duration (Duration/ofDays 300)}})

Generator for Java Duration objects.

Generator for Java Duration objects.
raw docstring

duration-inclj/smacro

(duration-in & {:keys [min max]})

duration-within-bounds?clj

(duration-within-bounds? duration min max)

exact-keys?clj/s

(exact-keys? m kset)

finite+clj/smacro

(finite+ & {:keys [max] :as opts})

finite-non-clj/smacro

(finite-non- & {:keys [max] :as opts})

infinite?clj/s

(infinite? x)

Returns true if x is infinite.

Returns true if x is infinite.
raw docstring

int-max-valueclj/s


int-min-valueclj/s


keys-evalclj/smacro

(keys-eval & {:keys [req req-un opt opt-un gen closed?]})

Like s/keys but will eval the key args

Like s/keys but will eval the key args
raw docstring

long-max-valueclj/s


long-min-valueclj/s


lowercase-letter-setclj/s


map-spec-keysclj/s

(map-spec-keys spec)

nan?clj/s

(nan? x)

Returns true if x is NaN.

Returns true if x is NaN.
raw docstring

next-upclj/s

(next-up x)

not-blank?clj/s

(not-blank? x)

number-inclj/smacro

(number-in & {:keys [min max NaN? infinite?] :or {NaN? false infinite? false}})

Returns a spec for an int or a double.

Returns a spec for an int or a double.
raw docstring

number-in-genclj/s

(number-in-gen gen-argm)

parse-spec-keysclj/s

(parse-spec-keys spec)

Given a spec, returns a set of keys the spec has.

Given a `spec`, returns a set of keys the spec has.
raw docstring

safe-explain-dataclj/s

(safe-explain-data spec x)

Try to remove the possibility of large values existing in the explain data message.

Try to remove the possibility of large values existing in the explain data
message.
raw docstring

sdefclj/smacro

(sdef name doc-string? metamap? spec)

Like s/def but supports setting a map of metadata.

Like s/def but supports setting a map of metadata.
raw docstring

sdef-formclj

(sdef-form k argm)

smetaclj/s

(smeta k)

Returns the metamap for k or nil if it does not exist.

Returns the metamap for k or nil if it does not exist.
raw docstring

sorted-map-ofclj/smacro

(sorted-map-of kpred vpred & opts)

spec-formclj/s

(spec-form keyword-or-form)

string-inclj/smacro

(string-in & {:keys [min max]})

string-in-genclj/s

(string-in-gen min max)

uppercase-letter-setclj/s

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

× close