add_constraint


Description:

public void add_constraint (string propName, string propVal)

Adds a constraint that requires the entity to have a property key propName with a value of propVal.

If multiple constraints are added for the same propName, with different values, the entity have all property values.

Parameters:

this

a filter object

propName

the name of the parameter key

propVal

the required property value




2022 vala-language.org