@technobuddha > library > Random
Pick
| Name | Type | Description |
|---|---|---|
| randomDraw | Function | Draw a random item from a list. Returning both the item and the list without the drawn item. |
| randomPick | Function | Pick a random items from a list. |
| randomWeightedPick | Function | Selects a random item from a list, where each item has an associated weight that determines its likelihood of being picked. |
| Weighted | Type | Represents an object with an associated weight value. |