@tsdotnet/random - v1.1.7
    Preparing search index...

    Function select

    • Returns a distinct random set from the source array up to the maxCount or the full length of the array.

      Type Parameters

      • T

      Parameters

      • source: ArrayLike<T>
      • maxCount: number

      Returns T[]