Guard.CheckRangeExclusive Method

Overloads

CheckRangeExclusive(Integer, Integer, Integer)

Checks an argument to ensure it is in the specified range excluding the bounds.

CheckRangeExclusive(Integer, Integer, Integer)

Checks an argument to ensure it is in the specified range excluding the bounds.

Delphi
class procedure CheckRangeExclusive(value: Integer; min: Integer; max: Integer)

Parameters

value
Integer

The argument value to check.

min
Integer

The minimum allowed value for the argument.

max
Integer

The maximum allowed value for the argument.

Exceptions

The value is not within the specified range.