Assert that input is a function.
input
assertIsFunction(() => {}); // does not throwassertIsFunction(42); // throws TypeError: input is not a function Copy
assertIsFunction(() => {}); // does not throwassertIsFunction(42); // throws TypeError: input is not a function
Assert that
inputis a function.