MCPcopy Index your code
hub / github.com/callstack/agent-device / isStringRecord

Function isStringRecord

src/remote/upload-client.ts:257–262  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

255}
256
257function isStringRecord(value: unknown): value is Record<string, string> {
258 if (!value || typeof value !== 'object' || Array.isArray(value)) {
259 return false;
260 }
261 return Object.values(value).every((entry) => typeof entry === 'string');
262}
263
264async function uploadDirectArtifact(
265 artifact: PreparedUploadArtifact,

Callers 1

Calls 1

valuesMethod · 0.80

Tested by

no test coverage detected