getTabs static method

int getTabs()

Get the amount of tabs that are currently open. In a non-web instance this will always return 0.

Implementation

static int getTabs() {
  return api.getTabs(_name);
}