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