(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 builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |