MCPcopy Create free account
hub / github.com/nodejs/node / #canAdoptType

Method #canAdoptType

deps/minimatch/index.js:726–728  ·  view source on GitHub ↗
(c, map = adoptionAnyMap)

Source from the content-addressed store, hash-verified

724 return this.#canAdoptType(gc.type, map);
725 }
726 #canAdoptType(c, map = adoptionAnyMap) {
727 return !!map.get(this.type)?.includes(c);
728 }
729 #adoptWithSpace(child, index) {
730 const gc = child.#parts[0];
731 const blank = new _a(null, gc, this.options);

Callers 2

#parseASTMethod · 0.80
#canAdoptMethod · 0.80

Calls 2

includesMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected