Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
Clojure
clojure.core
with-meta
with-meta
function
v1.0
clojure.core/with-meta
Available in:
BB
CLJ
CLJS
(
with-meta
[
obj
m
]
)
Returns an object of the same type and value as obj, with map m as its metadata.
Examples
Sign in to contribute
Code
Platforms
Clojure
ClojureScript
Babashka
Submit
Cancel
No examples yet. Be the first to add one!
Categories
Variables › Metadata Writing
See Also
alter-meta!
vary-meta
View source on GitHub ↗
← with-local-vars
with-open →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4