Assert that input is a finite number.
input
assertIsFiniteNumber(42); // does not throwassertIsFiniteNumber(Infinity); // throws TypeError: input is not a finite number Copy
assertIsFiniteNumber(42); // does not throwassertIsFiniteNumber(Infinity); // throws TypeError: input is not a finite number
Assert that
inputis a finite number.