MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / isStringRecord

Function isStringRecord

apps/api/src/lib/ai/ai.utils.ts:3–4  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

1import { logger } from "../../config/logger";
2
3const isStringRecord = (value: unknown): value is Record<string, unknown> =>
4 value !== null && typeof value === "object" && !Array.isArray(value);
5
6const collectStringEntries = (
7 obj: Record<string, unknown>

Callers 1

parseDefaultHeadersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected