Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/UsefulSoftwareCo/executor
/ stringOrNull
Function
stringOrNull
apps/local/src/db/v1-v2-migration.ts:340–340 ·
view source on GitHub ↗
(value: unknown)
Source
from the content-addressed store, hash-verified
338
};
339
340
const
stringOrNull = (value: unknown): string | null => (value == null ? null : String(value));
341
342
const
numberOrNull = (value: unknown): number | null => {
343
if
(value == null)
return
null;
Callers
1
readV1Snapshot
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected