Skip to main content

memfn

macrov1.7

cljs.core/memfn

Available in:BBCLJCLJS
(memfn [name & args])
Expands into code that creates a fn that expects to be passed an object and any args and calls the named instance method on the object passing the args. Use when you want to treat a JavaScript method as a first-class fn.

No examples yet. Be the first to add one!

See Also