struct MyDataStructure: Equatable { let name: String let employeeId: String static func == (lhs: MyDataStructure, rhs: MyDataStructure) -> Bool { return lhs.employeeId == rhs.employeeId } }
Last updated 5 years ago
Was this helpful?