(not-empty** x & [msg])
Validate and return given value if not empty collection, and throw an exception with given message (default is 'Argument can not be empty').
Validate and return given value if not empty collection, and throw an exception with given message (default is 'Argument can not be empty').
(presence* x & [msg])
Validate and return given value if not null, and throw an exception with given message (default is 'Argument is required').
Validate and return given value if not null, and throw an exception with given message (default is 'Argument is required').
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close