fn?

functionsince v0.0-927 clojure.core/fn?Edit
(fn? f)

Details:

Returns true if f is a function, false otherwise.


See Also:


Source docstring:
Return true if f is a JavaScript function or satisfies the Fn protocol.
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn fn?
  [f]
  (or (js-fn? f) (satisfies? Fn f)))