Descriptions for the different functions where copied from the original clojure.spec api description.
The following table shows how Clojure names are mapped to valid NodeJS function names:
clojure.spec | speculaas |
---|---|
& | amp |
+ | plus |
* | star |
? | question |
coll-of | collOf |
double-in | doubleIn |
get-spec | getSpec |
int-in | intIn |
int-in-range? | isIntInRange |
map-of | mapOf |
regex? | isRegex |
spec? | isSpec |
with-gen | withGen |