I have a request that returns basically that
inside of each item theres is an object that has a "dataAbertura" field, a string
im trying to filter these results with that function, but its not working
msg.payload.value.data.filter(e => e.dataAbertura.startsWith('2021-03-08'))
can somebody tells me whats wrong with that and how could i do it?
ps: sorry for my bad english