@ekim088/toolkit
    Preparing search index...

    Function shuffle

    • Shuffles the items in an array.

      Type Parameters

      • T = unknown

      Parameters

      • array: T[]

        The array to shuffle.

      Returns T[]

      The shuffled array.