isInRangeExclusive method

  1. @useResult
bool isInRangeExclusive(
  1. num min,
  2. num max
)

True if strictly between min and max (exclusive).

Implementation

@useResult
bool isInRangeExclusive(num min, num max) => this > min && this < max;