MCPcopy
hub / github.com/webpack/webpack / asArray

Method asArray

lib/util/StackedMap.js:159–162  ·  view source on GitHub ↗

* Returns the visible keys as an array after collapsing the stack. * @returns {K[]} array of keys

()

Source from the content-addressed store, hash-verified

157 * @returns {K[]} array of keys
158 */
159 asArray() {
160 this._compress();
161 return [...this.map.keys()];
162 }
163
164 /**
165 * Returns the visible keys as a `Set` after collapsing the stack.

Callers

nothing calls this directly

Calls 2

_compressMethod · 0.95
keysMethod · 0.65

Tested by

no test coverage detected