Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Const getRandomBool

  • getRandomBool(): boolean

Const getRandomFloat

  • getRandomFloat(min: number, max: number, digits?: number): number
  • Get a random floating point number between min and max.

    Parameters

    • min: number

      min number

    • max: number

      max number

    • Optional digits: number

      Optional. The number of digits after the decimal point.

    Returns number

    a random floating point number

Const getRandomInt

  • getRandomInt(min: number, max: number): number
  • Get a random integer between min and max.

    Parameters

    • min: number

      min number

    • max: number

      max number

    Returns number

    a random integer

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc