Assert that input is a positive integer.
input
assertIsPositiveInteger(42); // does not throwassertIsPositiveInteger(-1); // throws TypeError: input is not a positive integer Copy
assertIsPositiveInteger(42); // does not throwassertIsPositiveInteger(-1); // throws TypeError: input is not a positive integer
Assert that
inputis a positive integer.