I have the following code that combines all objects in a person and stores them in an array called Cash:[]
this.cash = person.userinvoice.concat(person.usercashfloat)
Inside person.usercashfloat, there is an element called validate which sometimes equals 0 and other times equals 1.
I am looking to select only the objects where validate is equal to 1. How can this be achieved? Thank you.