Assert that input is a finite number greater than or equal to 1.
input
assertIsNumberGTEOne(1); // does not throwassertIsNumberGTEOne(0.5); // throws TypeError: input is not a number >= 1 Copy
assertIsNumberGTEOne(1); // does not throwassertIsNumberGTEOne(0.5); // throws TypeError: input is not a number >= 1
Assert that
inputis a finite number greater than or equal to 1.