lt method

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

Returns true if x < y, false otherwise.

Implementation

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