MCPcopy Index your code
hub / github.com/nodejs/node / isFirst

Method isFirst

lib/internal/fs/glob.js:270–272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

268 this.indexes.has(this.last - 1) && this.at(-2) === lazyMinimatch().GLOBSTAR);
269 }
270 isFirst() {
271 return this.indexes.has(0);
272 }
273 get hasSeenSymlinks() {
274 return ArrayPrototypeSome(ArrayFrom(this.indexes), (i) => !this.symlinks.has(i));
275 }

Callers 2

#addSubpatternsMethod · 0.80
#iterateSubpatternsMethod · 0.80

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected