Type alias IntervalFactory<N>

IntervalFactory<N>: ((from, to) => IntegerInterval<N>)

Type Parameters

Type declaration

    • (from, to): IntegerInterval<N>
    • A function for constructing IntegerInterval<N>s. For example, <IntervalFactory<number>> could be (from: number, to: number) => new IntegerInterval(from, to).

      Parameters

      • from: number
      • to: number

      Returns IntegerInterval<N>

Generated using TypeDoc