MCPcopy Create free account
hub / github.com/Soft/iter / ToString

Function ToString

iterator.go:90–92  ·  view source on GitHub ↗

ToString consumes a rune Iterator creating a string.

(it Iterator[rune])

Source from the content-addressed store, hash-verified

88
89// ToString consumes a rune Iterator creating a string.
90func ToString(it Iterator[rune]) string {
91 return string(ToSlice(it))
92}
93
94type mapIter[T, R any] struct {
95 inner Iterator[T]

Callers 1

TestToStringFunction · 0.85

Calls 1

ToSliceFunction · 0.85

Tested by 1

TestToStringFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…