Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
Babashka
clojure.core
vec
vec
function
v1.0
clojure.core/vec
Available in:
BB
CLJ
CLJS
(
vec
[
coll
]
)
Creates a new vector containing the contents of coll. Java arrays will be aliased and should not be modified.
Examples
Sign in to contribute
Code
Platforms
Clojure
ClojureScript
Babashka
Submit
Cancel
No examples yet. Be the first to add one!
Categories
Collections › Creating
See Also
array-map
cycle
hash-map
hash-map
hash-set
iterate
lazy-seq
list
list
list*
← vary-meta
vector →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4