Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/typebox_deno/src/value/value.ts>Value.Diff

JSON Schema Type Builder with Static Type Resolution for TypeScript
Latest
function Value.Diff
import { Value } from "https://deno.land/x/typebox_deno@0.31.22/src/value/value.ts";
const { Diff } = Value;

Returns edits to transform the current value into the next value

Parameters

current: unknown
next: unknown

Returns

ValueDelta.Edit[]