Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
A Boolean value indicating whether a tab can be closed.
Note
If the canClose property is set to false, then the button to close the tab is hidden. Otherwise, the close button is visible.
Return value
None.
Example
const tab = Microsoft.Apm.getFocusedSession().getFocusedTab();
if (tab.canClose) {
tab.close();
}