MCPcopy
hub / github.com/mongodb/node-mongodb-native / toArray

Method toArray

src/utils.ts:683–685  ·  src/utils.ts::List.toArray
()

Source from the content-addressed store, hash-verified

681 }
682
683 toArray() {
684 return Array.from(this);
685 }
686
687 toString() {
688 return `head <=> ${this.toArray().join(class="st">' <=> ')} <=> head`;

Callers 15

toStringMethod · 0.95
scheduleWorkloadFunction · 0.80
topologySatisfiesFunction · 0.80
operations.tsFile · 0.80
runUnifiedTestFunction · 0.80
validateOutcomeFunction · 0.80
index.jsFile · 0.80
testOperationFunction · 0.80
waitForIndexesFunction · 0.80
objectid.test.tsFile · 0.80

Calls

no outgoing calls

Tested by 8

waitForIndexesFunction · 0.64
testFunction · 0.64
testFunction · 0.64
finishedFunction · 0.64
testFunction · 0.64
testFunction · 0.64
getCursorsFunction · 0.64