(ns c2.util
  (:require [singult.core :as singult]))

(def clj->js singult/clj->js)

(defn ->coll
  "Convert something into a collection, if it's not already."
  [x]
  (if (coll? x) x [x]))

(ns c2.util
  (:require [singult.core :as singult]))

(defn ->coll
  "Convert something into a collection, if it's not already."
  [x]
  (if (coll? x) x [x]))

Remove clj->js function, now that it's in cljs.core.
Remove clj->js function, now that it's in cljs.core.

lynaghk/c2,lynaghk/c2