A structure for specifying weights of different values when selecting elements in an uneven distribution. The greater the weight, the more likely the element will be chosen.
Readonly
The value returned if this element is selected.
The weight associated with this element. The greater the weight, the more likely the element will be selected.
A structure for specifying weights of different values when selecting elements in an uneven distribution. The greater the weight, the more likely the element will be chosen.