Assert that input is a boolean.
input
assertIsBoolean(true); // does not throwassertIsBoolean('true'); // throws TypeError: input is not a boolean Copy
assertIsBoolean(true); // does not throwassertIsBoolean('true'); // throws TypeError: input is not a boolean
Assert that
inputis a boolean.