Unwrapping Any, in Swift
If Any is not nil, except when it is, how do we check it and unwrap the underlying?
Did you know Any
can be nil
? It both makes sense and doesn't. But did you know Optional<Int>.none as Any == nil
would return false
? No? Me neither.
What else doesn't work then?