For records following the recordModel schema
recordModel
Schema of the record
record({ x: someArbitraryInt, y: someArbitraryInt }): Arbitrary<{x:number,y:number}>// merge two integer arbitraries to produce a {x, y} record Copy
record({ x: someArbitraryInt, y: someArbitraryInt }): Arbitrary<{x:number,y:number}>// merge two integer arbitraries to produce a {x, y} record
Since 0.0.12
Contraints on the generated record
record({ x: someArbitraryInt, y: someArbitraryInt }, {withDeletedKeys: true}): Arbitrary<{x?:number,y?:number}>// merge two integer arbitraries to produce a {x, y}, {x}, {y} or {} record Copy
record({ x: someArbitraryInt, y: someArbitraryInt }, {withDeletedKeys: true}): Arbitrary<{x?:number,y?:number}>// merge two integer arbitraries to produce a {x, y}, {x}, {y} or {} record
For records following the
recordModel
schema