Swift == lets you compare a SomeType to a SomeType? and returns true if the unwrapped RHS is equal to the LHS.
This makes sense: the LHS is implicitly wrapped, but seems uncharacteristically lenient and surprised me at first.
Swift == lets you compare a SomeType to a SomeType? and returns true if the unwrapped RHS is equal to the LHS.
This makes sense: the LHS is implicitly wrapped, but seems uncharacteristically lenient and surprised me at first.