The result should be true if all values are prime, and false if not. So, the degenerate case of one value is the same as now, but with arrays, or multiple values it will test them all and return the aggregate result. This will simplify the calculations in Project Euler #35.
The result should be
true
if all values are prime, andfalse
if not. So, the degenerate case of one value is the same as now, but with arrays, or multiple values it will test them all and return the aggregate result. This will simplify the calculations in Project Euler #35.