Optional
depthLimit the depth of the object by increasing the probability to generate simple values (defined via values) as we go deeper in the object.
Optional
keyArbitrary for keys
Optional
maxMaximal depth allowed
Optional
maxMaximal number of keys
Optional
sizeDefine how large the generated values should be (at max)
Optional
stringReplace the default unit for strings.
Optional
valuesArbitrary for values
Optional
withAlso generate BigInt
Optional
withAlso generate boxed versions of values
Optional
withAlso generate Date
Optional
withAlso generate Map
Optional
withAlso generate object with null prototype
Optional
withAlso generate string representations of object instances
Optional
withAlso generate Set
Optional
withAlso generate sparse arrays (arrays with holes)
Optional
withAlso generate typed arrays in: (Uint|Int)(8|16|32)Array and Float(32|64)Array Remark: no typed arrays made of bigint
Optional
withReplace the arbitrary of strings defaulted for key and values by one able to generate unicode strings with non-ascii characters. If you override key and/or values constraint, this flag will not apply to your override.
Constraints for anything and object