ComparableImpl.OperatorLessThanOrEqual<T> method

Standard implementation of the less than or equal to operator.

public static bool OperatorLessThanOrEqual<T>(T? left, T? right)
    where T : class, IComparable<T>
parameter description
left The left item.
right The right item.

Return Value

True if the left is less than or equal to the right.

See Also