UNPKG

@automattic/wpcom-checkout

Version:
10 lines 486 B
import type { CountryListItem } from './types'; /** * Returns true if postal codes are supported on the specified country code. * * NOTE: Will return false if the countries list is empty or if the country * code is not in the list! Always check that the countries list has loaded * before calling this. */ export declare function getCountryPostalCodeSupport(countries: CountryListItem[], countryCode: string): boolean; //# sourceMappingURL=get-country-postal-code-support.d.ts.map