• Shuffles the provided array, mutates the original array.

    Type Parameters

    • T

      The type of the array to shuffle.

    Parameters

    • array: T[]

      The array to shuffle.

    Returns T[]

    The shuffled array.

    8Crafter