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

Function schemaText

packages/react/src/components/schema-explorer.tsx:43–49  ·  view source on GitHub ↗
(value: SchemaText | undefined)

Source from the content-addressed store, hash-verified

41type SchemaText = string | Option.Option<string>;
42
43const schemaText = (value: SchemaText | undefined): string | undefined => {
44 if (typeof value === "string") return value;
45 if (Option.isOption(value) && Option.isSome(value)) {
46 return value.value;
47 }
48 return undefined;
49};
50
51// ---------------------------------------------------------------------------
52// Ref resolution — lazy, only on expand

Callers 3

mergeAllOfFunction · 0.85
PropertyRowFunction · 0.85
PropertyChildrenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected