Function GenerateRandomInt

  • GenerateRandomInt(min: number, max: number, maxExclusive?: boolean): number
  • Getting a random number between two values

    Returns

    Since

    4.0.0

    Version

    2021-12-12

    Parameters

    • min: number

      inclusive

    • max: number

      inclusive or exclusive, depends on: maxExclusive

    • maxExclusive: boolean = false

      Default: false

    Returns number

Generated using TypeDoc