MCPcopy Create free account
hub / github.com/Effect-TS/effect / next

Function next

packages/effect/src/Iterable.ts:64–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 let i = 0
63 return {
64 next(): IteratorResult<A> {
65 if (i < max) {
66 return { value: f(i++), done: false }
67 }
68 return { done: true, value: undefined }
69 }
70 }
71 }
72 }

Callers

nothing calls this directly

Calls 4

predicateFunction · 0.85
pushMethod · 0.80
nextMethod · 0.65
fFunction · 0.50

Tested by

no test coverage detected