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

Function stringType

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

Source from the content-addressed store, hash-verified

164 typeof value === "object" && value !== null && !Array.isArray(value);
165
166const stringType = (schema: Record<string, unknown>): boolean =>
167 schema.type === "string" || (Array.isArray(schema.type) && schema.type.includes("string"));
168
169const numericType = (schema: Record<string, unknown>): boolean =>
170 schema.type === "integer" ||

Callers 1

binaryStringSchemaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected