(attempt)
(attempt x)
(attempt x & next)
Returns result of first form that doesn't throw and doesn't return nil.
Returns result of first form that doesn't throw and doesn't return nil.
(get* m k)
(get* m k not-found)
Like clojure.core/get except treats strings and keywords as interchangeable and not-found as the result if there is no entry or if the entry value is nil.
Like clojure.core/get except treats strings and keywords as interchangeable and not-found as the result if there is no entry *or* if the entry value is nil.
(get-in* m ks)
(get-in* m ks not-found)
Like clojure.core/get-in except built atop get*.
Like clojure.core/get-in except built atop get*.
(iterable? x)
Is collection like or a single value?
Is collection like or a single value?
(quietly & body)
Execute the body and return nil if there was an error
Execute the body and return nil if there was an error
(template text context)
A simple string templating function that replaces {x.y.z} placeholders with values from the context.
A simple string templating function that replaces {x.y.z} placeholders with values from the context.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close