lteqv method

bool lteqv(
  1. T x,
  2. T y
)

Returns true if x <= y, false otherwise.

Implementation

bool lteqv(T x, T y) {
  final c = partialCompare(x, y);
  return c != null && c <= 0;
}