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

Function toString

packages/effect/src/Rational.ts:74–76  ·  view source on GitHub ↗
(this: Rational)

Source from the content-addressed store, hash-verified

72 return isRational(that) && Equivalence(this, that)
73 },
74 toString(this: Rational) {
75 return `Rational(${format(this)})`
76 },
77 toJSON(this: Rational) {
78 return {
79 _id: "Rational",

Callers

nothing calls this directly

Calls 1

formatFunction · 0.70

Tested by

no test coverage detected