Assert that input is a positive, finite number.
input
assertIsPositiveFiniteNumber(42); // does not throwassertIsPositiveFiniteNumber(-1); // throws TypeError: input is not a positive finite number Copy
assertIsPositiveFiniteNumber(42); // does not throwassertIsPositiveFiniteNumber(-1); // throws TypeError: input is not a positive finite number
Assert that
inputis a positive, finite number.