Assert that input is an array of numbers.
input
assertIsNumberArray([1, 2, 3]); // does not throwassertIsNumberArray([1, '2', 3]); // throws TypeError: input is not an array of number Copy
assertIsNumberArray([1, 2, 3]); // does not throwassertIsNumberArray([1, '2', 3]); // throws TypeError: input is not an array of number
Assert that
inputis an array of numbers.