Table of Contents

operator <= Operator

Definition

Namespace
Codebelt.SharedKernel
Assemblies
Codebelt.SharedKernel.dll
Source
src/Codebelt.SharedKernel/ComparableValueObject.cs

operator <=(ComparableValueObject<T>, ComparableValueObject<T>)

Compares two values to determine which is less or equal.

public static bool operator <=(ComparableValueObject<T> left, ComparableValueObject<T> right)

Parameters

left ComparableValueObject<T>

The value to compare with right.

right ComparableValueObject<T>

The value to compare with left.

Returns

bool

true if left> is less than or equal to right>; otherwise, false.