Values & References7 / 16
Up next

Identity with ===

class Node {}
let a = Node()
let b = a
let c = Node()
// === asks whether two references point at one instance
print(a === b)
print(a === c)
print(a !== c)
What you're solving

same instance or not