LeanComparableExtensions<T> extension
similar to minComparable and maxComparable
- on
-
- Comparable<
T>
- Comparable<
Methods
-
isBetween(
T min, T max, {bool? inclusiveMin, bool? inclusiveMax}) → bool -
Available on Comparable<
compares if this is betweenT> , provided by the LeanComparableExtensions extensionminandmax -
isEqualTo(
T other) → bool -
Available on Comparable<
shorthand for: compareTo(other) == 0T> , provided by the LeanComparableExtensions extension -
isGreaterThan(
T other) → bool -
Available on Comparable<
shorthand for: compareTo(other) > 0T> , provided by the LeanComparableExtensions extension -
isGreaterThanOrEqualTo(
T other) → bool -
Available on Comparable<
shorthand for: compareTo(other) >= 0T> , provided by the LeanComparableExtensions extension -
isSmallerThan(
T other) → bool -
Available on Comparable<
shorthand for: compareTo(other) < 0T> , provided by the LeanComparableExtensions extension -
isSmallerThanOrEqualTo(
T other) → bool -
Available on Comparable<
shorthand for: compareTo(other) <= 0T> , provided by the LeanComparableExtensions extension