natural
Callable
Parameters
constraints: MaybePartial<NaturalConstraints> = {}
The constraints used to generate arbitrary values.
Returns Integrated<NaturalConstraints, number>
An arbitrary that generates natural numbers.
The constraints used to generate arbitrary values.
An arbitrary that generates natural numbers.
It returns an arbitrary that generates natural numbers between 0 and 2^31.
Example