Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
Clojure
clojure.test
function?
function?
function
v1.1
clojure.test/function?
Available in:
BB
CLJ
CLJS
(
function?
[
x
]
)
Returns true if argument is a function or a symbol that resolves to a function (not a macro).
Examples
Sign in to contribute
Code
Platforms
Clojure
ClojureScript
Babashka
Submit
Cancel
No examples yet. Be the first to add one!
Categories
Testing › Assertions
See Also
*initial-report-counters*
*load-tests*
*report-counters*
*stack-trace-depth*
*test-out*
*testing-contexts*
*testing-vars*
are
assert-any
assert-expr
View source on GitHub ↗
← do-report
get-possibly-unbound-var →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4