I have a list of objects made like this:
[{restaurant_id: 2, entrance: 4}, {restaurant_id:3, entrance:5},{restaurant_id:4, entrance:6}..]
My goal is to edit (possibily using a conditional set filter, the list if restaurant_id equals a given number.
I know this could be done also through a FOR cicle or in other ways but I'm looking at the fastest way to do this.
Would be achievable through a filter?