Function arrayShuffle

  • Shuffles the elements of the given array to a random order.

    Type Parameters

    • T

    Parameters

    • array: T[]

      The array to shuffle.

    Returns T[]

    An array with every elements of the given array but in a random order.

Generated using TypeDoc