Class FractionalIndexGenerator

Generator of random fractional index strings.

Implements

Constructors

Properties

Methods

Constructors

  • Parameters

    • rand: (() => number) = Math.random

      The random function. Defaults to Math.random.

        • (): number
        • The random function. Defaults to Math.random.

          Returns number

    • minRandBits: number = 48

      Number of random bits to use when generating random indices. Defaults to 48 bits.

    Returns FractionalIndexGenerator

Properties

minRandBits: number = 48

Number of random bits to use when generating random indices. Defaults to 48 bits.

rand: (() => number) = Math.random

Type declaration

    • (): number
    • The random function. Defaults to Math.random.

      Returns number

Methods

  • Generates count indices between start and end exclusively.

    Parameters

    • Optional start: string
    • Optional end: string
    • count: number = 1

    Returns IterableIterator<string>

Generated using TypeDoc