(highest-arity-of f)
Returns the maximum arity of:
#()
and (fn [])
.map
or +
.#'->
.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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close