CitizenshipType
An enumeration containing the citizenship status
Declaration
Only relevant details are shown, boilerplate or standard Swift generated code is omitted
Summary
Cases
Name | Description |
The subject is a citizen of the country. | |
The subject is a permanent resident of the country. | |
The citizenship of the subject is unknown. |
Public variables
Name | Type | Description |
String | Returns the case name, separated by spaces, in string format. |
Cases
Citizen
case Citizen
The subject is a citizen of the country.
PermanentResident
case PermanentResident
The subject is a permanent resident of the country.
Unknown
case Unknown
The citizenship of the subject is unknown.
Public variables
stringValue
public var stringValue: String { get }
Example: "Permanent Resident"
Returns the case name, separated by spaces, in string format.
Where this is used
Last updated