Assert that input is an object.
input
assertIsObject({ a: 1 }); // does not throwassertIsObject(null); // throws TypeError: input is not an objectassertIsObject([1, 2, 3]); // throws TypeError: input is not an object Copy
assertIsObject({ a: 1 }); // does not throwassertIsObject(null); // throws TypeError: input is not an objectassertIsObject([1, 2, 3]); // throws TypeError: input is not an object
Assert that
inputis an object.