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

Function asArray

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

Source from the content-addressed store, hash-verified

40}
41
42function asArray(value: unknown): unknown[] {
43 return Array.isArray(value) ? value : []
44}
45
46function asString(value: unknown): string {
47 if (typeof value === 'string')

Callers 4

getServersFunction · 0.70
parseSecurityFunction · 0.70
getFolderIdFunction · 0.70
parseOperationFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected