isActive method

bool isActive(
  1. T item
)

Determines whether item is active.

Implementation

bool isActive(T item) => activeItem == item;