Skip to main content
Version: v0.17.0

EntityGetValue

Alias:EntityGetValue, From

Output:The required type

Gets the value of a property from an entity

ParameterTypeRequiredPositionSummary
Entityentity✔1The entity to get the property from.
Property
Get
string✔2The name of the property to get. Returns an empty string if the property is not present.

Examples​

Example 1​

SCL​

(foo: 123).foo

Expected Output​

123

Example 2​

SCL​

(foo: 123)['foo']

Expected Output​

123

Example 3​

SCL​

(foo: (bar: 123))['foo.bar']

Expected Output​

123

Example 4​

SCL​

(foo: (bar: 123)).foo.bar

Expected Output​

123

Example 5​

SCL​

From ('type': 'C', 'value': 1) Get: 'value'

Expected Output​

1