Hello I\'m trying to filter out the properties based on their value, which could be 1 or 2. But I don\'t know how to write the code so that only one type of the objects are