[android-components](../../index.md) / [mozilla.components.feature.tab.collections](../index.md) / [TabCollectionStorage](index.md) / [removeCollection](./remove-collection.md)

# removeCollection

`fun removeCollection(collection: `[`TabCollection`](../-tab-collection/index.md)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/tab-collections/src/main/java/mozilla/components/feature/tab/collections/TabCollectionStorage.kt#L137)

Removes a collection and all its tabs.

