MCPcopy 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
340const stringOrNull = (value: unknown): string | null => (value == null ? null : String(value));
341
342const numberOrNull = (value: unknown): number | null => {
343 if (value == null) return null;

Callers 1

readV1SnapshotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected