filter

Filters the Sequence of values this ArbArgsGenerator will generate which match the given predicate - should not filter out all values otherwise it will break the ArgsGenerator contract.

Also be aware of that in terms of performance, you might be better off constructing an own ArbArgsGenerator which only generates the desired values instead of filtering as this ArbArgsGenerator could potentially generate a large number of values you are not interested in before generating one that matches the given predicate.

Return

The resulting ArbArgsGenerator which generates only values for which the given predicate returns true.

Since

2.0.0

Parameters

predicate

which should return true for a given value if it shall be kept in the sequence, otherwise false.

T

The type of values generated by this ArbArgsGenerator.