(valid? validation-result)
Returns true if the validation result values are nil, or is empty. False otherwise
Returns true if the validation result values are nil, or is empty. False otherwise
(validate form-data validation-map)
Validates a map of data with a map of validations. Runs each function on the validation map by passing as a parameter the value of the associated key in the form data
Validates a map of data with a map of validations. Runs each function on the validation map by passing as a parameter the value of the associated key in the form data
(validations & validations)
Returns a function that composes the given validations. Validations are run one after the other, shortcutting when one returns a not nil value
Returns a function that composes the given validations. Validations are run one after the other, shortcutting when one returns a not nil value
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close