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

    Type Parameters

    • Ts

    Parameters

    Returns Ts[]

    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

    Since 0.0.6