(attribute-array v)
creates a datastructure compatible with the call to setAttribute
(seq (attribute-array [0 1 2 3 4])) => [0 1 2 3 4]
(seq (attribute-array "hello")) => ["hello"]
creates a datastructure compatible with the call to setAttribute (seq (attribute-array [0 1 2 3 4])) => [0 1 2 3 4] (seq (attribute-array "hello")) => ["hello"]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close