From the example shared, it is from an experience event. In your case, if you have an array of objects, you can refer to the attributes of the object (referred as zzz) as a filter using the syntax, (say for example, currentDataPackField.zzz== 'yyy' )