Created
July 14, 2015 20:30
-
-
Save iwillig/a73a2ca74a1420833ac1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn file? [x] (instance? java.io.File x)) | |
(defn multipart? [params] | |
(every? | |
(fn [x] | |
(cond | |
(file? x) true | |
(map? x) (some file? (vals x)) | |
:else false)) | |
(vals params))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment