2

Whenever I print a cljs.core/UUID in Clojurescript I see:

#uuid "a7fc5304-010b-41fd-9e4e-4498cfb0e206"

: when all I want to see is :

"a7fc5304-010b-41fd-9e4e-4498cfb0e206"

: How can I access just the string part of a Clojurescript UUID?

4

1 回答 1

7

只需使用str

(str #uuid "a7fc5304-010b-41fd-9e4e-4498cfb0e206")
于 2013-06-20T17:45:21.037 回答