• Randomly chooses an element of an array

    Type Parameters

    • T

    Parameters

    • array: T[]

      The array

    Returns T

    A random element

Generated using TypeDoc