Arbitraryconstantconstant Callableconstant<T>(x: T): Dependent<T>It takes a constant value and creates an arbitrary out of it. Examplerandom(constant("foobar"))// => "foobar"random(constant(1))// => 1Type parametersTParametersx: TThe constant to make arbitrary.Returns Dependent<T>A constant arbitrary.
It takes a constant value and creates an arbitrary out of it.
Example