Add nan? predicate to utils.data.

This commit is contained in:
Andrey Antukh
2016-01-06 21:04:50 +02:00
parent be48fde490
commit 046360bd14

View File

@@ -33,6 +33,10 @@
;; Numbers Parsing
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defn nan?
[v]
(js/isNaN v))
(defn read-string
[v]
(r/read-string v))