.random()
Returns one or more random entries from the collection.
Last updated
Returns one or more random entries from the collection.
Last updated
Parameter
Default
Description
amount
1
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