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

Method constructor

packages/effect/src/String.ts:1144–1152  ·  view source on GitHub ↗
(
    s: string,
    stripped: boolean = false
  )

Source from the content-addressed store, hash-verified

1142 readonly stripped: boolean
1143
1144 constructor(
1145 s: string,
1146 stripped: boolean = false
1147 ) {
1148 this.s = s
1149 this.stripped = stripped
1150 this.index = 0
1151 this.length = s.length
1152 }
1153
1154 next(): IteratorResult<string> {
1155 if (this.done) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected