Combine multiple filters by applying an OR logical
operation between every one of them:
or(fn1, fn2, ..., fnN) = fn1 OR fn2 OR ... OR fnN
Note: This also combines type modifications in a union, i.e.
if the 1st has modification { field1: string }
and the 2nd has modification { field2: number },
then the combined filter will have
modification { field1: string } | { field2: number }.
Note: Due to TypeScript limitations (or more likely my lack of brain cells),
state type is only correctly inferred for up to 6 filters.
If you need more, either provide type explicitly (e.g. filters.state<SomeState>(...)),
or combine multiple and calls.
Combine multiple filters by applying an OR logical operation between every one of them:
or(fn1, fn2, ..., fnN) = fn1 OR fn2 OR ... OR fnN
Param: fns
Filters to combine