EntityHasProperty
Alias:EntityHasProperty, DoesEntityHave, DoesEntity
Output:SCLBool
Checks if an entity has a particular property.
| Parameter | Type | Required | Position | Summary |
|---|---|---|---|---|
| Entity | entity | ✔ | 1 | The entity to check the property on. |
| Property Have | string | ✔ | 2 | The name of the property to check. |
Examples​
Example 1​
SCL​
DoesEntity ('type': 'C', 'value': 1) Have: 'type'
Expected Output​
True
Example 2​
SCL​
DoesEntity ('type': null, 'value': 1) Have: 'type'
Expected Output​
True
Example 3​
SCL​
EntityHasProperty ('type': 'C', 'value': 1) 'name'
Expected Output​
False