Function randomInteger

  • Creates a random integer (no decimal points are included) between the given min and max values (inclusive).

    This function uses cryptographically secure randomness.

    Parameters

    • __namedParameters: {
          max: number;
          min: number;
      }
      • max: number
      • min: number

    Returns number