mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
Add nan? predicate to utils.data.
This commit is contained in:
parent
be48fde490
commit
046360bd14
1 changed files with 4 additions and 0 deletions
|
@ -33,6 +33,10 @@
|
||||||
;; Numbers Parsing
|
;; Numbers Parsing
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
(defn nan?
|
||||||
|
[v]
|
||||||
|
(js/isNaN v))
|
||||||
|
|
||||||
(defn read-string
|
(defn read-string
|
||||||
[v]
|
[v]
|
||||||
(r/read-string v))
|
(r/read-string v))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue