Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ toJSON
Function
toJSON
packages/effect/src/Cron.ts:157–161 ·
view source on GitHub ↗
(this: Cron)
Source
from the content-addressed store, hash-verified
155
return
`Cron(${formatValue(toPojo(this))})`
156
},
157
toJSON(this: Cron) {
158
const
out = toPojo(this)
159
out[
"_id"
] =
"Cron"
160
return
out
161
},
162
[NodeInspectSymbol](this: Cron) {
163
return
this.toJSON()
164
},
Callers
nothing calls this directly
Calls
1
toPojo
Function · 0.85
Tested by
no test coverage detected