Liking cljdoc? Tell your friends :D

twitter.utils


assert-throwclj

(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
sourceraw docstring

classpath-fileclj

(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
sourceraw docstring

get-file-extclj

(get-file-ext filename)

retrieves the file extension portion from the filename

retrieves the file extension portion from the filename
sourceraw docstring

partition-mapclj

(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
sourceraw docstring

transform-mapclj

(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
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close