export type IFilter = (value: T) => boolean;