Liking cljdoc? Tell your friends :D

net.clojars.jamesaorson.brain.bank.fn


arityclj

(arity f)

Returns the maximum arity of:

  • anonymous functions like #() and (fn []).
  • defined functions like map or +.
  • macros, by passing a var like #'->.

Returns :variadic if the function/macro is variadic.

Returns the maximum arity of:
  - anonymous functions like `#()` and `(fn [])`.
  - defined functions like `map` or `+`.
  - macros, by passing a var like `#'->`.

Returns `:variadic` if the function/macro is variadic.
raw docstring

arity?clj

(arity? n fn-var)

generate-arity?-fnscljmacro

(generate-arity?-fns n)

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

× close