MCPcopy Index your code
hub / github.com/simstudioai/sim / normalizeRecord

Function normalizeRecord

apps/sim/lib/core/utils/records.ts:10–12  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

8 * internal API contracts.
9 */
10export function normalizeRecord(value: unknown): UnknownRecord {
11 return isPlainRecord(value) ? value : {}
12}
13
14/**
15 * Normalizes environment-like maps to string values, matching process/env

Callers 5

execute.tsFile · 0.90
prepareToolExecutionFunction · 0.90
records.test.tsFile · 0.90
executeMethod · 0.90

Calls 1

isPlainRecordFunction · 0.90

Tested by

no test coverage detected