Skip to content
Type

InclusiveIntegerRange ​

Specifies an inclusive range of integers.

ts
type InclusiveIntegerRange = {
	min: number;
	max: number;
};

Used by ​

Properties ​

min ​

ts
min: number;

The integer cannot be less than this.

max ​

ts
max: number;

The integer cannot be greater than this.

Released under the Mozilla Public License 2.0.