hasFocus method

bool hasFocus(
  1. Index index
)

Implementation

bool hasFocus(Index index) {
  return indexWithFocus == index;
}