isNotBetween method

bool isNotBetween(
  1. num from,
  2. num to
)

Is NOT this greater than or equal to from and less than or equal to to?

NOTE: Inclusive match

print(0.5.isBetween(0, 10)); // true
print(10.isBetween(1, 10)); // true

Implementation

bool isNotBetween(num from, final num to) => !isBetween(from, to);