(assert-throw val msg)
if the supplied arg is nil, throw with the exception text provided
if the supplied arg is nil, throw with the exception text provided
(classpath-file file-name)
this loads a file from the classpath and returns an input stream
this loads a file from the classpath and returns an input stream
(get-file-ext filename)
retrieves the file extension portion from the filename
retrieves the file extension portion from the filename
(partition-map map-to-partition pred)
partitions a map, depending on a predicate, returning a vector of maps of passes and fails
partitions a map, depending on a predicate, returning a vector of maps of passes and fails
(transform-map map-to-transform
&
{:keys [key-trans val-trans]
:or {key-trans identity val-trans identity}})
transforms the k/v pairs of a map using a supplied transformation function
transforms the k/v pairs of a map using a supplied transformation function
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close