Liking cljdoc? Tell your friends :D

spirit.mail.interop.wrap


wrap-firstclj

(wrap-first f)

Returns the first element of the function it is wrapping

((wrap-first identity) [1 2 3]) => 1

Returns the first element of the function it is wrapping

((wrap-first identity) [1 2 3])
=> 1
raw docstring

wrap-suppressclj

(wrap-suppress f)

Suppresses the function it is wrapping

((wrap-suppress (fn [_] (throw (Exception.)))) :hello) => nil

Suppresses the function it is wrapping

((wrap-suppress (fn [_] (throw (Exception.)))) :hello)
=> nil
raw docstring

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

× close