Skip to main content

validated

function

clojure.instant/validated

(validated [new-instance])
Return a function which constructs an instant by calling constructor after first validating that those arguments are in range and otherwise plausible. The resulting function will throw an exception if called with invalid arguments.

No examples yet. Be the first to add one!