Functions6 public, 0 private
Returns the ISO 639-1 language code for the provided language name. | |||
public | string | getCodeByLanguage | |
required | string | language | |
public | numeric | getLegalAgeByCountry | |
required | string | country | |
Returns a gender neutral salutation. | |||
public | string | getPoliteSalutation | |
required | string | language | |
string | genderOrSalutation | ||
string | lastName | ||
string | firstName | ||
Returns the regular expression to validate postcodes for the specified country. | |||
public | string | getPostCodeRegExByCountry | |
ISO 3166-1, Alpha-2, Alpha-3 or numeric code | |||
required | string | country | |
Returns the salutation for the provided gender, based on the specified language. | |||
public | string | getGenderSalutationByLanguage | |
ISO 639-1 | |||
required | string | language | |
F, M | |||
required | string | gender | |
Returns if the provided value is a valid postcode in the specified country. | |||
public | string | isPostCode | |
ISO 3166-1, Alpha-2 or Alpha-3 | |||
required | string | country | |
required | any | postcode |