Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumSwiftKeyPath expressionsSingle-choice MCQ

What is the type of `kp` here, and what does it let you do that a plain `\Person.name` does not?

struct Person { var name: String; var age: Int } let kp = \Person.name