Skip to content

nested beta ​

Function of @v12-engine/engine

ts
export declare function nested(path: string, value: FieldValue): DataValues;

Values with one field set, nested as the path says: nested('stats.health', 420) is { stats: { health: 420 } }