A document tab, containing rich text and elements such as tables and lists.
Retrieve a document tab using Document.getTabs()[tabIndex].asDocumentTab().
// Get the current document tab of the active tab in the active document const tab = DocumentApp.getActiveDocument().getActiveTab().asDocumentTab();
Optional
A document tab, containing rich text and elements such as tables and lists.
Retrieve a document tab using Document.getTabs()[tabIndex].asDocumentTab().