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

Function isRecord

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

Source from the content-addressed store, hash-verified

25}
26
27function isRecord(value: unknown): value is UnknownRecord {
28 return typeof value === 'object' && value !== null && !Array.isArray(value)
29}
30
31function asArray(value: unknown): unknown[] {
32 return Array.isArray(value) ? value : []

Callers 13

isPostmanCollectionFunction · 0.70
isPostmanEnvironmentFunction · 0.70
isOpenApiDocumentFunction · 0.70
getKeyValueArrayValueFunction · 0.70
parseAuthFunction · 0.70
parsePostmanQueryFunction · 0.70
parseUrlFunction · 0.70
parseBodyFunction · 0.70
parseVariablesFunction · 0.70
parseRequestFunction · 0.70
walkItemsFunction · 0.70
parseCollectionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected