MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isRecord

Function isRecord

apps/local/src/db/data-dir-ownership.ts:32–33  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

30};
31
32const isRecord = (value: unknown): value is Record<string, unknown> =>
33 typeof value === "object" && value !== null;
34
35export const isSqliteBusy = (cause: unknown): boolean => {
36 if (!isRecord(cause)) return false;

Callers 2

isSqliteBusyFunction · 0.70
findDataDirOwnershipHeldFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected