MCPcopy Index your code
hub / github.com/TanStack/ai / undoNullWidening

Function undoNullWidening

packages/ai-utils/src/transforms.ts:121–124  ·  view source on GitHub ↗
(value: T, map?: NullWideningMap)

Source from the content-addressed store, hash-verified

119 * correctly. With no map, the value is returned untouched.
120 */
121export function undoNullWidening<T>(value: T, map?: NullWideningMap): T {
122 if (!map) return value
123 return walk(value, map) as T
124}

Calls 1

walkFunction · 0.70

Tested by

no test coverage detected