MCPcopy
hub / github.com/webpack/webpack / _isEmpty

Method _isEmpty

lib/util/LazySet.js:98–104  ·  view source on GitHub ↗

* Reports whether the set is empty without forcing a full merge. * @returns {boolean} true when no items have been stored or queued

()

Source from the content-addressed store, hash-verified

96 * @returns {boolean} true when no items have been stored or queued
97 */
98 _isEmpty() {
99 return (
100 this._set.size === 0 &&
101 this._toMerge.size === 0 &&
102 this._toDeepMerge.length === 0
103 );
104 }
105
106 /**
107 * Returns the number of items after applying any deferred merges.

Callers 1

addAllMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected