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.
2 parents 0f11d92 + 4f90ba1 commit f9c2cd1Copy full SHA for f9c2cd1
stdlib/public/core/Policy.swift
@@ -142,6 +142,10 @@ public protocol AnyObject : class {}
142
/// - SeeAlso: `AnyObject`
143
public typealias AnyClass = AnyObject.Type
144
145
+/// Returns true iff `lhs` and `rhs` are references to the same object
146
+/// instance (in other words, are identical pointers).
147
+///
148
+/// - SeeAlso: `Equatable`, `==`
149
@warn_unused_result
150
public func === (lhs: AnyObject?, rhs: AnyObject?) -> Bool {
151
switch (lhs, rhs) {
@@ -447,4 +451,3 @@ infix operator |= { associativity right precedence 90 assignment }
447
451
// example of how this operator is used, and how its use can be hidden
448
452
// from users.
449
453
infix operator ~> { associativity left precedence 255 }
450
-
0 commit comments