MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / isRecord

Function isRecord

src/config/configuration/converter.ts:11–13  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

9}
10
11function isRecord(value: unknown): value is Record<string, unknown> {
12 return typeof value === 'object' && value !== null && !Array.isArray(value);
13}
14
15export function camelToSnake(obj: unknown): JsonValue {
16 if (obj === null || obj === undefined) {

Callers 2

camelToSnakeFunction · 0.70
snakeToCamelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected