Type Utils
    Preparing search index...

    Function pickRandom

    • Picks a random element from an array and removes it from the array

      Type Parameters

      • T

      Parameters

      • from: T[]

      Returns T