Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arktypeio/arktype
/ encode
Function
encode
ark/schema/roots/root.ts:557–559 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
555
}
556
557
get encode(): BaseRoot {
558
return
($ark.encode ?? throwParseError(encodeWithoutCodecsMessage))(this)
559
}
560
561
rawPipeOnce(morph: Morph): BaseRoot {
562
if
(hasArkKind(morph,
"root"
)) {
Callers
1
mapToSource
Function · 0.50
Calls
1
throwParseError
Function · 0.90
Tested by
no test coverage detected