MCPcopy Create free account
hub / github.com/massCodeIO/massCode / isRecord

Function isRecord

src/main/import/snippets/snippetsLab.ts:31–33  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

29}
30
31function isRecord(value: unknown): value is SnippetsLabRecord {
32 return !!value && typeof value === 'object' && !Array.isArray(value)
33}
34
35function parseJsonFile(file: ImportFile): unknown | null {
36 try {

Callers 1

getContentsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected