getWeight method

Int64 getWeight()

The weight of this output list. More weight = more likely.

Example: If a recipe contains two output lists of weight 1 and one of weight 3, then the probabilities of each list being used are respectively 1/5, 1/5, and 3/5.

Implementation

Int64 getWeight() {
  return _native.weight;
}