Variable: CountryName
ts
const readonly CountryName: string[];Array of all country names extracted from the Country data.
Provides a convenient list of country names for dropdowns, validation, and other UI components that need just the country names.
Examples
typescript
// Use in a select dropdown
const countryOptions = CountryName.map((name) => ({
label: name,
value: name,
}));typescript
// Validate a country name
const isValidCountry = CountryName.includes("Canada"); // true