MCPcopy
hub / github.com/webpack/webpack / asSet

Method asSet

lib/util/StackedMap.js:168–171  ·  view source on GitHub ↗

* Returns the visible keys as a `Set` after collapsing the stack. * @returns {Set<K>} set of keys

()

Source from the content-addressed store, hash-verified

166 * @returns {Set<K>} set of keys
167 */
168 asSet() {
169 this._compress();
170 return new Set(this.map.keys());
171 }
172
173 /**
174 * Returns visible key/value pairs using the external representation.

Callers 2

handlerMethod · 0.80

Calls 2

_compressMethod · 0.95
keysMethod · 0.65

Tested by

no test coverage detected