isTX method

bool isTX(
  1. int index
)

checks if typeIndex is equal to input index

Implementation

bool isTX(int index) => typeIndex == index;