isWithinBounds method

  1. @nonVirtual
bool isWithinBounds(
  1. int index
)

Tests if index is within the bounds of this vector.

Implementation

@nonVirtual
bool isWithinBounds(int index) => 0 <= index && index < count;