Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

choice

  • choice(input: any): any
  • Randomly get an element from an object or array.

    Parameters

    • input: any

    Returns any

shuffle

  • shuffle(array: any[]): any[]
  • Parameters

    • array: any[]

    Returns any[]