ClojureScript
API
GitHub
js-fn?
macro
since v1.10.844
Edit
(js-fn? x)
Source code @
clojurescript:src/main/clojure/cljs/core.cljc
(
core/defmacro
js-fn?
[
x
]
(
bool-expr
(
core/list
'
js*
"typeof ~{} === 'function'"
x
)
)
)