constant<T>(x): Dependent<T>
T
x
Dependent
It takes a constant value and creates an arbitrary out of it.
random(constant("foobar"))// => "foobar" random(constant(1))// => 1
• T
The constant to make arbitrary.
Dependent<T>
A constant arbitrary.