• Generate an array containing all the values that would have been generated during assert or check

    Example

    fc.sample(fc.nat(), 10); // extract 10 values from fc.nat() Arbitrary
    fc.sample(fc.nat(), {seed: 42}); // extract values from fc.nat() as if we were running fc.assert with seed=42

    Remarks

    Since 0.0.6

    Type Parameters

    • Ts

    Parameters

    Returns Ts[]

Generated using TypeDoc