Skip to content

assignPath

assignPath(tx, obj, field, value): boolean

Atomic mutation to assign a path (number[][]) to shape’s field and returns true if changed

Parameters

tx: Transaction

obj: Obj

field: string

value: number[][]

Returns

boolean

Source

macro.ts:30