Assert that input is an integer.
input
assertIsInteger(42); // does not throwassertIsInteger(42.5); // throws TypeError: input is not an integer Copy
assertIsInteger(42); // does not throwassertIsInteger(42.5); // throws TypeError: input is not an integer
Assert that
inputis an integer.