android-components / mozilla.components.feature.tabs.tabstray / TabsFeature / filterTabs

filterTabs

fun filterTabs(tabsFilter: (TabSessionState) -> Boolean = defaultTabsFilter): Unit (source)

Filter the list of tabs using tabsFilter.

Parameters

tabsFilter - A filter function returning true for all tabs that should be displayed in the tabs tray. Uses the defaultTabsFilter if none is provided.