• Returns a random string array that between the length range, matching the given size

    Parameters

    • Optionalsize: number

      the size of the expected array

    • OptionalminLength: number

      the min length, inclusive

    • OptionalmaxLength: number

      the max length, exclusive

    • characters: string = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'

      the source characters to be generated from

    Returns string[] | undefined

    a random string array that between the length range, matching the given size

    randomStrings(3, 6, 10);