MCPcopy Create free account
hub / github.com/apache/maka / isStringArray

Function isStringArray

packages/core/src/record-schema.ts:77–79  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

75}
76
77export function isStringArray(value: unknown): value is string[] {
78 return Array.isArray(value) && value.every((item) => typeof item === 'string');
79}
80
81export function isStringNumberRecord(value: unknown): boolean {
82 return isRecord(value) && Object.values(value).every(isFiniteNumber);

Callers 9

isAgentSwarmItemFunction · 0.70
isExploreResultFunction · 0.70
isExploreCandidateFunction · 0.70
isRiveResultFunction · 0.70
optionalStringArrayFunction · 0.70
isRuntimeEventContentFunction · 0.70
isTraceCoverageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected