inRange method

bool inRange(
  1. Range<T> range
)

Returns true if in the range.

Implementation

bool inRange(Range<T> range) => range.contains(this);