declare type FilterFunction = (...args: any[]) => Boolean;