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