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

Function isPostmanEnvironment

src/main/http/import/postman.ts:62–68  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

60}
61
62function isPostmanEnvironment(value: unknown): value is UnknownRecord {
63 return (
64 isRecord(value)
65 && Array.isArray(value.values)
66 && (!isRecord(value.info) || !Array.isArray(value.item))
67 )
68}
69
70function isOpenApiDocument(value: unknown): boolean {
71 return (

Callers 1

parsePostmanFilesFunction · 0.85

Calls 1

isRecordFunction · 0.70

Tested by

no test coverage detected