• For one ...values values - all equiprobable

    WARNING: It expects at least one value, otherwise it should throw

    Remarks

    Since 0.0.12

    Type Parameters

    • T = never

    Parameters

    • Rest ...values: T[]

      Constant values to be produced (all values shrink to the first one)

    Returns Arbitrary<T>

  • For one ...values values - all equiprobable

    WARNING: It expects at least one value, otherwise it should throw

    Remarks

    Since 0.0.12

    Type Parameters

    • TArgs extends any[] | [any]

    Parameters

    • Rest ...values: TArgs

      Constant values to be produced (all values shrink to the first one)

    Returns Arbitrary<TArgs[number]>

Generated using TypeDoc