isSmallerThanOrEqualTo method

bool isSmallerThanOrEqualTo(
  1. T other
)

shorthand for: compareTo(other) <= 0

Implementation

bool isSmallerThanOrEqualTo(T other) => compareTo(other) <= 0;