CountryList

esc.utils.Countries.CountryList
implicit class CountryList(nameElement: String)

Implicit function to check whether a string is a country (true) or not (false).

Value parameters

nameElement

String to check for a country.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def isCountry: Boolean

Implicit function to check whether a string is a country or not.

Implicit function to check whether a string is a country or not.

Attributes

Returns

true if it match a country, otherwise false.

def toIsoCountry: (Boolean, String)

Implicit function to check whether a string is a country or not.

Implicit function to check whether a string is a country or not.

Attributes

Returns

true if the country was found and the 2 letter iso code. false if not found and the original nameElement string.