MCPcopy Index your code
hub / github.com/OpenCoworkAI/open-codesign / isStringArray

Function isStringArray

packages/shared/src/editmode.ts:250–252  ·  view source on GitHub ↗
(value: unknown[])

Source from the content-addressed store, hash-verified

248}
249
250function isStringArray(value: unknown[]): value is string[] {
251 return value.every((option) => typeof option === 'string');
252}
253
254function validateEntry(value: unknown): TokenSchemaEntry | null {
255 if (!isPlainObject(value)) return null;

Callers 1

validateEntryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected