struct MyDataStructure: Equatable {
let name: String
let employeeId: String
static func == (lhs: MyDataStructure, rhs: MyDataStructure) -> Bool {
return lhs.employeeId == rhs.employeeId
}
}
struct MyDataStructure: Equatable {
let name: String
let employeeId: String
static func == (lhs: MyDataStructure, rhs: MyDataStructure) -> Bool {
return lhs.employeeId == rhs.employeeId
}
}