function assertPositiveInteger(value, name) {
	  if (Array.isArray(value)) {
	    assert(value.length > 0, function () {
	      return name + " is unexpectedly an empty array.";
	    });
	    value.forEach(function (v, i) {
	      return assertPositiveInteger(v, "element " + (i + 1) + " of " + name);
	    });
	  } else {
	    assert(Number.isInteger(value) && value > 0, function () {
	      return "Expected " + name + " to be a positive integer, but got " + (formatAsFriendlyString(value) + ".");
	    });
	  }
	}
Assert that a value or an array of value are positive integer.

@param value The value being asserted on. May be a single number or an array
  of numbers.
@param name Name of the value, used to make the error message.