MCPcopy Create free account
hub / github.com/tiann/hapi / isRecord

Function isRecord

cli/src/api/versionedUpdate.ts:19–21  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

17}
18
19const isRecord = (value: unknown): value is Record<string, unknown> => {
20 return typeof value === 'object' && value !== null
21}
22
23export const applyVersionedAck = <TValue, ValueKey extends string>(
24 ack: unknown,

Callers 1

applyVersionedAckFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected