Combine multiple filters by applying an AND logical operation between every one of them: and(fn1, fn2, ..., fnN) = fn1 AND fn2 AND ... AND fnN

Note: This also combines type modifications, i.e. if the 1st has modification { field1: string } and the 2nd has modification { field2: number }, then the combined filter will have combined 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.

Filters to combine