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

Function isBundledCollection

src/main/http/import/opencollection.ts:107–109  ·  view source on GitHub ↗
(raw: unknown)

Source from the content-addressed store, hash-verified

105}
106
107function isBundledCollection(raw: unknown): raw is UnknownRecord {
108 return isRecord(raw) && Array.isArray(raw.items)
109}
110
111function isFolderFile(file: HttpImportFile, raw: unknown): boolean {
112 const info = getInfo(raw)

Callers 1

parseOpenCollectionFilesFunction · 0.85

Calls 1

isRecordFunction · 0.70

Tested by

no test coverage detected