🔰Key Path
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
👉 replit
// ⭐ 下面兩種型別雖然都有「可以當作 ID」的屬性,但屬性名稱不一樣。
struct Person {
// social security number
var ssn: String // ⭐ id key for `Person`
var name: String
}
struct Book {
var