Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/loopbackio/loopback-next
/ serialize
Method
serialize
packages/repository/src/types/union.ts:48–54 ·
view source on GitHub ↗
(value: any)
Source
from the content-addressed store, hash-verified
46
}
47
48
serialize(value: any) {
49
for
(
const
type
of this.itemTypes) {
50
if
(
type
.isInstance(value)) {
51
return
type
.serialize(value);
52
}
53
}
54
}
55
}
Callers
nothing calls this directly
Calls
2
isInstance
Method · 0.65
serialize
Method · 0.65
Tested by
no test coverage detected