Skip to main content
Version: v0.18.0

EntitySetValue

Alias:EntitySetValue, In

Output:Entity

Returns a copy of the entity with this property set. Will add a new property if the property is not already present.

ParameterTypeRequiredPositionSummary
Entityentity✔1The entity to set the property on.
Property
Set
string✔2The name of the property to set.
Value
To
T✔3The new value of the property to set.

Examples​

Example 1​

SCL​

EntitySetValue Entity: ('type': 'A', 'value': 1) Property: 'type' Value: 'C'

Expected Output​

('type': "C" 'value': 1)

Example 2​

SCL​

In ('type': 'C', 'value': 1) Set: 'type' To: 'A'

Expected Output​

('type': "A" 'value': 1)