random_sample
Select a specified number of unique items from an array at random, ensuring no repeats. Ideal for unbiased sampling or random draws.
Instructions
Randomly select multiple unique items from an array (without replacement)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| array | Yes | Array to sample from | |
| count | Yes | Number of items to select |