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

packages/core/src/macro.ts:33