@yookue/ts-lang-utils
    Preparing search index...

    Function randomIntegers

    • 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 undefined | number[]

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

      David Hsing

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