mirror of
https://github.com/penpot/penpot.git
synced 2026-04-30 21:59:10 +00:00
✨ Allow check for pgobject type.
This commit is contained in:
parent
beaa62c9a9
commit
4c4dac8e90
@ -252,8 +252,11 @@
|
||||
(exec! ds (sql/select table params opts))))
|
||||
|
||||
(defn pgobject?
|
||||
[v]
|
||||
(instance? PGobject v))
|
||||
([v]
|
||||
(instance? PGobject v))
|
||||
([v type]
|
||||
(and (instance? PGobject v)
|
||||
(= type (.getType ^PGobject v)))))
|
||||
|
||||
(defn pginterval?
|
||||
[v]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user