MCPcopy
hub / github.com/webpack/webpack / asMap

Method asMap

lib/util/StackedMap.js:186–188  ·  view source on GitHub ↗

* Returns the visible contents as a plain `Map`. * @returns {Map<K, Cell<V>>} materialized map

()

Source from the content-addressed store, hash-verified

184 * @returns {Map<K, Cell<V>>} materialized map
185 */
186 asMap() {
187 return new Map(this.asPairArray());
188 }
189
190 /**
191 * Returns the number of visible keys after collapsing the stack.

Callers

nothing calls this directly

Calls 1

asPairArrayMethod · 0.95

Tested by

no test coverage detected