Function randomValue

  • Pick an arbitrary value.

    Returns

    vᵢ | vᵢ ∈ x[1]

    Type Parameters

    • K

    • V

    Parameters

    • x: Lists<K, V>

      lists

    • fr: ReadFunction<number> = Math.random

      random number generator ([0, 1))

    Returns V

Generated using TypeDoc