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

Method toJSON

packages/effect/src/internal/hashMap.ts:866–871  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

864 }
865
866 toJSON(): unknown {
867 return {
868 _id: "HashMap",
869 values: Array.from(this).map(([k, v]) => [toJson(k), toJson(v)])
870 }
871 }
872
873 pipe() {
874 return pipeArguments(this, arguments)

Callers

nothing calls this directly

Calls 2

toJsonFunction · 0.90
mapMethod · 0.45

Tested by

no test coverage detected