We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebdd00c commit 9fb8f59Copy full SHA for 9fb8f59
stdlib/public/core/KeyPath.swift
@@ -180,7 +180,7 @@ public class AnyKeyPath: Hashable, _AppendKeyPath {
180
// TODO: Find a quicker way to see if this is a tuple.
181
internal func isTuple(_ item: Any) -> Bool {
182
// Unwraps type information if possible.
183
- // Otherwise, everything the Mirror sees would be "Optional<Any.Type>".
+ // Otherwise, everything the Mirror handling "item" sees would be "Optional<Any.Type>".
184
func unwrapType<T>(_ any: T) -> Any {
185
let mirror = Mirror(reflecting: any)
186
guard mirror.displayStyle == .optional, let first = mirror.children.first else {
0 commit comments