(apply-body-fn f)
Given a function that accepts a single argument, returns a transducing function that applies the given function either to the body of a response map or to each element in the body of the response map if the body is sequential.
This would be appropriate for option {:extract-body :after} or without the :extract-body option.
Given a function that accepts a single argument, returns a transducing function that applies the given function either to the body of a response map or to each element in the body of the response map if the body is sequential. This would be appropriate for option {:extract-body :after} or without the :extract-body option.
(apply-fn f)
Given a function that accepts a single argument, returns a transducing function that applies the given function either to each value as a whole, or each element of each values if the value is sequential.
This would be appropriate for use with option {:extract-body :before}
Given a function that accepts a single argument, returns a transducing function that applies the given function either to each value as a whole, or each element of each values if the value is sequential. This would be appropriate for use with option {:extract-body :before}
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |