This function takes an array of objects with a commonality property and returns a random result, weighted by the commonality property.
An array of objects with a commonality property
Generated using TypeDoc
This function takes an array of objects with a commonality property and returns a random result, weighted by the commonality property.