shuffle | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function shuffle

    • Shuffle an array in-place

      Type Parameters

      • T

      Parameters

      • array: T[]

        Array to shuffle

      Returns T[]

      The shuffled array