Type alias CompactRange

CompactRange: {
    max: number;
    min: number;
    missing: number[];
}

Data structur for a range of integers with potentially missing numbers.

Type declaration

  • max: number
  • min: number
  • missing: number[]