gradum-kit - v0.1.0
    Preparing search index...

    Function randomId

    • Function

      randomId

      Parameters

      • Optionallength: number = 8

        How many characters the ID should be.

      Returns string

      A random alphanumeric ID of the requested length.

      Generate a random identifier from the platform's cryptographic random source. Prefer it over randomString whenever the value has to be unpredictable, such as an element or record ID.