API Reference | fast-check | Property based testing framework
    Preparing search index...

    Type Alias OneOfValue<Ts>

    OneOfValue: {
        [K in keyof Ts]: Ts[K] extends MaybeWeightedArbitrary<infer U>
            ? U
            : never
    }[number]

    Infer the type of the Arbitrary produced by oneof given the type of the source arbitraries

    Type Parameters

    Since 2.2.0