KeyPath
A key path from a specific root type to a specific resulting value type.
Declaration
class KeyPath<Root, Value>Overview
The most common way to make an instance of this type is by using a key-path expression like \SomeClass.someProperty. For more information, see Key-Path Expressions in The Swift Programming Language.