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

x/typebox/src/value/pointer.ts>ValuePointer.Set

JSON Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
function ValuePointer.Set
import { ValuePointer } from "https://deno.land/x/typebox@0.25.13/src/value/pointer.ts";
const { Set } = ValuePointer;

Sets the value at the given pointer. If the value at the pointer does not exist it is created

Parameters

value: any
pointer: string
update: unknown