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

Function String

iterator.go:16–20  ·  view source on GitHub ↗

String returns an Iterator yielding runes from the supplied string.

(input string)

Source from the content-addressed store, hash-verified

14
15// String returns an Iterator yielding runes from the supplied string.
16func String(input string) Iterator[rune] {
17 return &stringIter{
18 input: input,
19 }
20}
21
22func (it *stringIter) Next() Option[rune] {
23 if len(it.input) == 0 {

Callers 2

TestStringFunction · 0.85
TestToStringFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestStringFunction · 0.68
TestToStringFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…