The replace attribute determines whether items in the list are replaced into the selection pool after being randomly selected.
<list>
Name | Type | Description |
---|---|---|
boolean | boolean |
The replace attribute can be specified only if selectionMode is set to 'random, otherwise it will produce an error. If false, items are randomly selected without replacement into the pool. Once all items have been selected, the pool is reset and all items are returned to the pool. If set to true, items are randomly selected with replacement into the pool. By default, it is false.