(delegate obj)
Allow transparent field access and manipulation to the underlying object.
(def a "hello") (def >a (delegate a))
(mapv char (>a :value)) => [\h \e \l \l \o]
(>a :value world-array) a => "world"
Allow transparent field access and manipulation to the underlying object. (def a "hello") (def >a (delegate a)) (mapv char (>a :value)) => [\h \e \l \l \o] (>a :value world-array) a => "world"
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |