Country table filter.ts

export class CountryTableFilter extends FilterableTable<Country> {
    matches(country: Country, input: string): boolean {
        return (
            country.name.common.toLowerCase().includes(input.toLowerCase()) ||
            country.region.toLowerCase().includes(input.toLowerCase())
        );
    }
}