MCPcopy
hub / github.com/microsoft/vscode-js-debug / iteratorFirst

Function iteratorFirst

src/common/arrayUtils.ts:55–57  ·  view source on GitHub ↗
(it: IterableIterator<T>)

Source from the content-addressed store, hash-verified

53}
54
55export function iteratorFirst<T>(it: IterableIterator<T>): T | undefined {
56 return it.next().value;
57}

Callers 4

tryGetCompiledFileMethod · 0.90
updateStatusBarMethod · 0.90
createReGroupFunction · 0.90
provideForSourceMethod · 0.90

Calls 1

nextMethod · 0.65

Tested by

no test coverage detected