Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/loopbackio/loopback-next
/ serialize
Method
serialize
packages/repository/src/types/date.ts:57–60 ·
view source on GitHub ↗
(value: Date | null | undefined)
Source
from the content-addressed store, hash-verified
55
}
56
57
serialize(value: Date | null | undefined) {
58
if
(value == null)
return
value;
59
return
value.toJSON();
60
}
61
}
Callers
nothing calls this directly
Calls
1
toJSON
Method · 0.45
Tested by
no test coverage detected