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

Function isRecord

src/main/http/import/openapi.ts:38–40  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

36] as const
37
38function isRecord(value: unknown): value is UnknownRecord {
39 return typeof value === 'object' && value !== null && !Array.isArray(value)
40}
41
42function asArray(value: unknown): unknown[] {
43 return Array.isArray(value) ? value : []

Callers 11

isOpenApiDocumentFunction · 0.70
resolveRefFunction · 0.70
getInfoFunction · 0.70
getParameterValueFunction · 0.70
parseParametersFunction · 0.70
pickMediaEntryFunction · 0.70
sampleFromSchemaFunction · 0.70
parseRequestBodyFunction · 0.70
getSecuritySchemesFunction · 0.70
parseSecurityFunction · 0.70
parseOpenApiFileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected