removeAll() Removes all anchors from the collection. Declaration@MainActor @preconcurrency func removeAll() See AlsoRemoving anchorsremove(_:)remove(at:)removeAll(keepCapacity:)