Assert that input is an array of numbers, bigints, or numeric strings.
input
assertIsNumericValueArray([1, '2', 3n]); // does not throwassertIsNumericValueArray([1, 'abc']); // throws TypeError: input is not a numerical value array Copy
assertIsNumericValueArray([1, '2', 3n]); // does not throwassertIsNumericValueArray([1, 'abc']); // throws TypeError: input is not a numerical value array
Assert that
inputis an array of numbers, bigints, or numeric strings.