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

Function isRecord

packages/plugins/openapi/src/sdk/plugin.ts:423–424  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

421]);
422
423const isRecord = (value: unknown): value is Record<string, unknown> =>
424 typeof value === "object" && value !== null && !Array.isArray(value);
425
426const maybeUrl = (value: string): URL | null => {
427 // oxlint-disable-next-line executor/no-try-catch-or-throw -- boundary: URL parsing accepts user-pasted spec/base URLs

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected