MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / stringArrayParam

Function stringArrayParam

projects/openade-module/src/module.ts:162–165  ·  view source on GitHub ↗
(record: Record<string, unknown>, key: string)

Source from the content-addressed store, hash-verified

160}
161
162function stringArrayParam(record: Record<string, unknown>, key: string): string[] | undefined {
163 const value = record[key]
164 return Array.isArray(value) ? value.filter((item): item is string => typeof item === "string") : undefined
165}
166
167function hyperplanStrategyParam(value: unknown): OpenADEHyperPlanStrategy | undefined {
168 if (value === undefined) return undefined

Callers 3

hyperplanStrategyParamFunction · 0.85
createActionEventParamsFunction · 0.85
taskMetadataUpdateParamsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected