Set Object Property
Set an Object property
Description
Updates the value of a property of an object
Set Object Property
with:
object
: pproperty
: Person.namevalue
: 'John'
is equivalent in code to:
// p is of type Person;
p.name = 'John';
Inputs
- value (Object): The value to set the property with. The type must match the type of the property. Example:
John
- object (Object): The object to update. Example: an object of type
Person
- property (Property): The property to update. Example:
Person.name
- Control Flow (Control Flow)
Outputs
- object (Object): The Object
- Control Flow (Control Flow)
- Error Flow (Error Flow): If the provided object doesn't have the specified property