android-components / mozilla.components.browser.state.selector / findTab


fun BrowserState.findTab(tabId: String): TabSessionState? (source)

Finds and returns the tab with the given id. Returns null if no matching tab could be found.


tabId - The ID of the tab to search for.

Return The TabSessionState with the provided tabId or null if it could not be found.