MCPcopy Index your code
hub / github.com/massCodeIO/massCode / isJsonFile

Function isJsonFile

src/main/http/import/postman.ts:49–51  ·  view source on GitHub ↗
(file: HttpImportFile)

Source from the content-addressed store, hash-verified

47}
48
49function isJsonFile(file: HttpImportFile): boolean {
50 return file.name.toLowerCase().endsWith('.json')
51}
52
53function isPostmanCollection(value: unknown): value is UnknownRecord {
54 if (!isRecord(value) || !isRecord(value.info)) {

Callers 1

parsePostmanFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected