MCPcopy Create free account
hub / github.com/OpenSIST/OpenSIST.github.io / normalizeQueryValues

Function normalizeQueryValues

src/Data/ProgramData.js:280–283  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

278}
279
280function normalizeQueryValues(value) {
281 const values = typeof value === 'string' ? value.split(',').filter(Boolean) : value;
282 return Array.isArray(values) && values.length === 0 ? null : values;
283}
284
285function programDescCacheKey(programId) {
286 return `${programId}-Desc`;

Callers 1

getProgramsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected