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

arity?clj

(arity? n fn-var)
source

generate-arity?-fnscljmacro

(generate-arity?-fns n)
source

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

× close