(real-collection? datum)
Clojure postwalk iterates over a map as collection of MapEntries. MapEntry is a collection, but we don't want to transform this collection into Java collection. For this reason, when we walk through data, we check for collection not being MapEntry, to avoid destroying maps.
Clojure postwalk iterates over a map as collection of MapEntries. MapEntry is a collection, but we don't want to transform this collection into Java collection. For this reason, when we walk through data, we check for collection not being MapEntry, to avoid destroying maps.
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 |