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

Function toString

packages/effect/src/internal/result.ts:38–40  ·  view source on GitHub ↗
(this: Result.Success<A, E>)

Source from the content-addressed store, hash-verified

36 return Hash.combine(Hash.hash(this._tag))(Hash.hash(this.success))
37 },
38 toString<A, E>(this: Result.Success<A, E>) {
39 return `success(${format(this.success)})`
40 },
41 toJSON<A, E>(this: Result.Success<A, E>) {
42 return {
43 _id: "Result",

Callers

nothing calls this directly

Calls 1

formatFunction · 0.90

Tested by

no test coverage detected