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

Function isRef

packages/plugins/openapi/src/sdk/openapi-utils.ts:51–52  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

49}
50
51const isRef = (value: unknown): value is { $ref: string } =>
52 typeof value === "object" && value !== null && "$ref" in value;
53
54// ---------------------------------------------------------------------------
55// Server URL resolution

Callers 1

resolveMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected