summaryrefslogtreecommitdiff
path: root/src/clojure_sql/util.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/clojure_sql/util.clj')
-rw-r--r--src/clojure_sql/util.clj3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/clojure_sql/util.clj b/src/clojure_sql/util.clj
index f2edf30..3dfe948 100644
--- a/src/clojure_sql/util.clj
+++ b/src/clojure_sql/util.clj
@@ -24,3 +24,6 @@
(apply map-kv (fn [k & vs]
[k (apply f vs)])
maps))
+
+(defn named? [x]
+ (some #(% x) [keyword? string? symbol?]))