• Returns a random integer array that between value range, matching the given size

    Parameters

    • Optionalsize: number

      the size of the expected array

    • OptionalminValue: number

      the min value, inclusive

    • OptionalmaxValue: number

      the max value, exclusive

    Returns number[] | undefined

    a random integer array that between value range, matching the given size

    randomIntegers(3, 1, 10);
    randomIntegers(3, -6, 8);