Engine API Reference - v2.6.1
    Preparing search index...

    Function random

    • Return a pseudo-random number between min and max. The number generated is in the range [min, max), that is inclusive of the minimum but exclusive of the maximum.

      Parameters

      • min: number

        Lower bound for range.

      • max: number

        Upper bound for range.

      Returns number

      Pseudo-random number between the supplied range.