Testing whether an object is a Java primitive array in Clojure

前端 未结 7 2281
时光说笑
时光说笑 2021-02-08 08:47

What\'s the best way to detect whether an object is a Java primitive array in Clojure?

The reason I need this is to do some special handling for primitive arrays, which

相关标签:
7条回答
  • 2021-02-08 09:26

    Since Clojure 1.9, you can use bytes? bytes? doc link

    0 讨论(0)
提交回复
热议问题