@vsokolov/utils - v1.4.2
    Preparing search index...

    Function randomItem

    • Get random unique items from array

      Type Parameters

      • T

      Parameters

      • arr: T[]

        Array of items

      • count: number

        Amount of items to select from array

      Returns T[]

      Array with randomly selected unique items