Liking cljdoc? Tell your friends :D
All platforms.

utilis.fn


apply-kwclj/s

(apply-kw f args)
(apply-kw f a args)
(apply-kw f a b args)
(apply-kw f a b c args)
(apply-kw f a b c d & args)

Applies the fn 'f' to the argument list provided treating the last argument as a map containing the keyword arguments for 'f'.

Applies the fn 'f' to the argument list provided treating the last argument
as a map containing the keyword arguments for 'f'.
sourceraw docstring

fsafeclj/s

(fsafe f)
(fsafe f default)

Return a function that calls 'f' iff 'f' and all the supplied arguments are not nil.

An optional default value is returned if 'f' or any of it's arguments is nil. If a default is not provided, a nil is used as the default.

Return a function that calls 'f' iff 'f' and all the supplied arguments
are not nil.

An optional default value is returned if 'f' or any of it's arguments is
nil. If a default is not provided, a nil is used as the default.
sourceraw docstring

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

× close