country_in_region

Check if country is within specific region

Example

1
{{ 'SE' | country_in_region, 'EU' }} => true

Input

Type Parameter Description Required
string countryCode The country code. Comes before the | sign. Required
string region The region e.g. EU, EEA  

Output

Type Description
bool true if the country is within the region