MCPcopy Create free account
hub / github.com/anomalyco/opencode / stringArrayValue

Function stringArrayValue

packages/stats/app/src/routes/model-catalog.ts:305–309  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

303}
304
305function stringArrayValue(value: unknown) {
306 return Array.isArray(value)
307 ? value.filter((item): item is string => typeof item === "string" && item.trim() !== "")
308 : []
309}

Callers 1

readCatalogModalitiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected