Skip to main content

MinMax

Represents a min/max value pair - simple and extensible

Exampleโ€‹

const ageRange: MinMax = { min: 18, max: 65 };
const priceRange: MinMax = { min: 0, max: 1000 };
const scoreConstraints: MinMax = { min: 0, max: 100 };

Extended byโ€‹


Propertiesโ€‹

min: numberโ€‹

Minimum value

max: numberโ€‹

Maximum value