MCPcopy Index your code
hub / github.com/TypeScriptToLua/TypeScriptToLua / next

Method next

src/lualib/Map.ts:124–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122 return this;
123 },
124 next(): IteratorResult<[K, V]> {
125 if (!started) {
126 started = true;
127 key = getFirstKey();
128 } else {
129 key = nextKey.get(key!);
130 }
131 return { done: !key, value: [key!, items.get(key!)] as [K, V] };
132 },
133 };
134 }
135

Callers 6

__TS__DelegatedYieldFunction · 0.45
constructorMethod · 0.45
__TS__ObjectFromEntriesFunction · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
iteratorIteratorStepFunction · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected