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

    Function randomNumbers

    • Returns a random number array that between the 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 number array that between value range, matching the given size

      David Hsing

      randomNumbers(3, 1.1, 1.2);
      randomNumbers(3, -3.6, 2.8);