MCPcopy
hub / github.com/thesysdev/openui / isReactiveSchema

Function isReactiveSchema

packages/lang-core/src/reactive.ts:15–17  ·  view source on GitHub ↗
(schema: unknown)

Source from the content-addressed store, hash-verified

13
14/** Check if a schema was marked reactive. Used by Zod introspection for $binding<> prefix. */
15export function isReactiveSchema(schema: unknown): boolean {
16 return typeof schema === "object" && schema !== null && reactiveSchemas.has(schema as object);
17}

Callers 3

resolveTypeAnnotationFunction · 0.90
evaluatePropCoreFunction · 0.90
evaluateFunction · 0.90

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected