method Providence.prototype.selectAnAction import { Providence } from "."; const { selectAnAction } = Providence.prototype; Providence.prototype.selectAnAction(random: Random, weightedActions: readonly WeightedAction[]): Decision Selects an Action via weighted distribution random selection Parameters random: Random weightedActions: readonly WeightedAction[] Return Type Decision