Test if a value is an array of probabilities that sum to one.
stdlib.io
stdlib-js/assert-is-unity-probability-array