I have this object:
filters: {
field1: [?],
field2: [?],
field3: [?],
etc
}
The result I want is a boolean that states whether any of the filters arrays has something in ithem (i.e: is not empty).
Something lile:
const hasActiveFilters = Object.values(filters).reduce(...);
What would be the best way to achieve this?