IRange<T>.Includes
Method in IRange<T>
Declaration
bool Includes(T value)
Description
Checks if a value is in the range.
Parameters
value | The value to check. |
Returns
bool | True if the value is in the range, false otherwise. |
Overload
Declaration
bool Includes(T value, bool includeMin, bool includeMax)
Description
Checks if a value is in the range.
Parameters
value | The value to check. |
includeMin | The minimum value is inclusive if true, exclusive if false. |
includeMax | The maximum value is inclusive if true, exclusive if false. |
Returns
bool | True if the value is in the range, false otherwise. |