Name
public struct Name : Equatable, Codable
The name of a natural person composed of their given name and surname
-
The person’s given (e.g. first) name
Declaration
Swift
public let givenName: String
-
The person’s surname
Declaration
Swift
public let surname: String
-
Initializes the name
Declaration
Swift
public init(givenName: String, surname: String)
Parameters
givenName
The given name
surname
The surname