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

    Returns

    Type Parameters

    • T

    Parameters

    • source: ArrayLike<T>
    • maxCount: number

    Returns T[]

Generated using TypeDoc