removeAll() Remove all the instances. Declarationmutating func removeAll() See AlsoUsing the collectioninsert(_:)remove(id:)update(_:)subscript(_:)