Replies: 2 comments 1 reply
-
Hi, Yeah if you want to dictate the shape, then i'd say it's something you'd need to handle on your side. If you just wanted a random object, then maybe |
Beta Was this translation helpful? Give feedback.
1 reply
-
Try to create a new PR to introduce a function to do this : #302 What do you think ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to create a collection of custom objects
e.g:
const customObject = {this: randBoolean(), that: randShape(), ...}
hand have and array of[customObject, ...]
.Do I need to handle it myself with a loop or there is something
randCollection({collection: customObject, length: 5})
already (I've gone through the doc and couldn't find such)?.Beta Was this translation helpful? Give feedback.
All reactions