function useWeightedimport { useWeighted } from "https://deno.land/x/denouse@v0.0.12/use/random/weighted.ts"; useWeighted<ItemType>(choices: WeightedChoice<ItemType>[]): WeightedChoice<ItemType>Roll one from an array of weighted choices. Type ParametersItemTypeParameterschoices: WeightedChoice<ItemType>[] Choices to roll from. ReturnsWeightedChoice<ItemType>Item rolled.