shallow-copy object
This block is part of the object group and was last modified in core v10.4.28.
shallow-copy object v10.4.28 Builds a new object from the given object, holding deep references (e.g. deep.key.field).
In pins 1
- object required
objectObject to build shallow-copy from.
Out pins 1
- Output
object
Returns a NEW object with the same top-level key/value pairs; nested objects and arrays remain SHARED references with the input, so mutating them downstream also mutates the original. Empty or missing input yields {}.
copy |
A typical wiring for shallow-copy object: new object feeds the object pin; the object out pin feeds custom field.

Used in these guides
These documentation pages use or explain this block:
Version history
Introduced in v10.4.28.
Back to
object Return to the main group to view all sub-groups Back to create Return to the group to view all blocks within this group
