Documents for @litert/utils-string
    Preparing search index...

    Function random

    • Generate a random string with the specified length and charset.

      Parameters

      • length: number

        Expected length of the random string

      • charset: string = DEFAULT_RANDOM_CHARSET

        The characters set to use for generating the random string (all characters must be unique)

      Returns string

      The generated random string