Skip to main content
Version: v0.19.0-alpha 🚧

EntityHasProperty

Alias:EntityHasProperty, DoesEntityHave, DoesEntity

Output:SCLBool

Checks if an entity has a particular property.

ParameterTypeRequiredPositionSummary
Entityentity✔1The entity to check the property on.
Property
Have
string✔2The 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