DoubleRange.Includes
Method in DoubleRange
Declaration
public bool Includes(double 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(double 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. |