IntRange.Includes
Method in IntRange
Implements IRange<T>.Includes
Declaration
public bool Includes(int 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
public bool Includes(int 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. |