Filter function that takes a value argument and returns a truthy value to keep it.
Optional
id?: anyAn optional ID associated with this filter. Can be used to remove the filter.
Optional
subscribe?: ((indexUpdate) => (() => void))Optional subscribe function following the Svelte store / subscribe pattern.
Optional
weight?: numberAn optional number between 0 and 1 inclusive to position this filter against others.
Defines the data object to configure a filter w/ additional configuration options.