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

# removeTabFromCollection

`fun removeTabFromCollection(collection: `[`TabCollection`](../-tab-collection/index.md)`, tab: `[`Tab`](../-tab/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#L83)

Removes the given [Tab](../-tab/index.md) from the [TabCollection](../-tab-collection/index.md).

