Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
31
function
isRecord(value: unknown): value is SnippetsLabRecord {
32
return
!!value && typeof value ===
'object'
&& !Array.isArray(value)
33
}
34
35
function
parseJsonFile(file: ImportFile): unknown | null {
36
try {
Callers
1
getContents
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected