Method IsBetween
IsBetween<T>(T, T, T, bool)
Declaration
public static bool IsBetween<T>(this T value, T lower, T upper, bool inclusive) where T : IComparable<T>
Parameters
Type | Name | Description |
---|---|---|
T | value | |
T | lower | |
T | upper | |
bool | inclusive |
Returns
Type | Description |
---|---|
bool |
Type Parameters
Name | Description |
---|---|
T |