MCPcopy Create free account
hub / github.com/cursor/plugins / stringField

Function stringField

orchestrate/skills/orchestrate/scripts/cli/task.ts:562–568  ·  view source on GitHub ↗
(
  obj: Record<string, unknown> | null,
  key: string
)

Source from the content-addressed store, hash-verified

560}
561
562function stringField(
563 obj: Record<string, unknown> | null,
564 key: string
565): string | undefined {
566 const value = obj?.[key];
567 return typeof value === "string" ? value : undefined;
568}
569
570function field(obj: unknown, key: string): unknown {
571 return isRecord(obj) ? obj[key] : undefined;

Callers 2

findActiveRootPlannerFunction · 0.70
runStatusFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected