ValueAction.Replace

 

ValueAction.Replace(target as any, source as any) as action

Creates an action that when executed replaces the content of target with source. The function raises an evaluation error if target is not updatable or if source is not compatible with target. The action raises an execution error if the operation fails.

NOTE: target may be left in a partially updated state if an execution error occurs.

Show: