Skip to content

Function: subjectCountry() ​

ts
function subjectCountry(subject): string | undefined;

The subject's country as recorded in data: country, countryCode, nationality or countryOfResidence, else address.country.

Parameters ​

subject ​

data? ​

unknown

Returns ​

string | undefined

Released under the Apache-2.0 License.