 ;; types
 ;;
 
+(def string? clojure.core/string?)
 (def integer? (dynamic-conformer clojure.core/integer?))
 (def int? (dynamic-conformer clojure.core/int?))
 (def double? (dynamic-conformer double-like?))

      :cljs number?) x))

(defn -string->int [x]
  (if (string? x)
    (try
      #?(:clj  (Integer/parseInt x)
         :cljs (js/parseInt x 10))

        ::s/invalid))))

(defn -string->long [x]
  (if (clojure.core/string? x)
    (try
      #?(:clj  (Long/parseLong x)
         :cljs (js/parseInt x 10))
