indexProvidence.prototype.selectAnAction
method Providence.prototype.selectAnAction
import { Providence } from ".";
const { selectAnAction } = Providence.prototype;

Selects an Action via weighted distribution random selection

Parameters

random: Random
weightedActions: readonly WeightedAction[]

Return Type