Skip to content

setAt beta ​

Function of @v12-engine/editor

ts
export declare function setAt(def: object, path: string, value: unknown): void;

A field of a def set by its path, in place: undefined takes it away, and an object left with nothing in it (a style with no field) goes with it