MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / arrayType

Function arrayType

packages/plugins/openapi/src/sdk/extract.ts:188–189  ·  view source on GitHub ↗
(schema: Record<string, unknown>)

Source from the content-addressed store, hash-verified

186 stringType(schema) && (schema.format === "binary" || schema.format === "byte");
187
188const arrayType = (schema: Record<string, unknown>): boolean =>
189 schema.type === "array" || (Array.isArray(schema.type) && schema.type.includes("array"));
190
191const nullableType = (schema: Record<string, unknown>): boolean =>
192 Array.isArray(schema.type) && schema.type.includes("null");

Callers 1

multipartFilePropertyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected