Function randomValueFromArray

  • Get a Random Index from the Provided Array

    Returns

    a Randomly Selected Value from the List

    Type Parameters

    • T = unknown

    Parameters

    • seed: T[]

      The Array of Values to Randomly Select From

    • exclude: T | T[] = []

      Values to Exclude from the the Array of Values

    Returns T

Generated using TypeDoc