password checker library for clojure
combine checker functions whiech you want with "combine-checkers"
(def my-password-checker
(combine-checkers not-blank? contains-alphabet? (length-range 3 5)))
"combine-checkers" function combine checker functions with AND operator. if you want to combine with OR operator, you can use "combine-checkers-or".
"@last-checker" represents last checker function name as Symbol. with this value, you can check error point.
Copyright (C) 2011 Masashi Iizuka
Distributed under the Eclipse Public License, the same as Clojure.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close