MCPcopy Create free account
hub / github.com/dailydotdev/apps / isStringArray

Function isStringArray

packages/shared/src/lib/engagementAds.ts:33–34  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

31 typeof value === 'object' && value !== null && !Array.isArray(value);
32
33const isStringArray = (value: unknown): value is string[] =>
34 Array.isArray(value) && value.every((item) => typeof item === 'string');
35
36const parseThemed = (value: unknown): ThemedValue | null =>
37 isRecord(value) &&

Callers 1

parseCreativeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected