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

Function recordValue

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

Source from the content-addressed store, hash-verified

277 });
278
279const recordValue = (value: unknown): Record<string, unknown> | undefined =>
280 typeof value === "object" && value !== null && !Array.isArray(value)
281 ? Object.fromEntries(Object.entries(value))
282 : undefined;
283
284const withEchoCookieParameter = (spec: Record<string, unknown>): Record<string, unknown> => {
285 const paths = recordValue(spec.paths);

Callers 1

withEchoCookieParameterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected