.random()
Returns one or more random entries from the collection.
random(amount)
Parameter | Default | Description |
amount |
| Number (optional) Number of entries to return |
Returns | Description |
A single random entry, if the provided parameter is equal to 1, or multiple random entries |
Last updated