An object config would be a better option.

```
table.addFilter({ key: 'foo', min: 0, max: 10 });
table.addFilter({ key: 'bar', value: 5 });
table.addFilter({ key: 'baz', match: /someRegex/ });
table.addFilter(function (rowData) { /* custom filter */ });
```