Assert that input is a primitive value.
input
assertIsPrimitive('hello'); // does not throwassertIsPrimitive({}); // throws TypeError: input is not primitive Copy
assertIsPrimitive('hello'); // does not throwassertIsPrimitive({}); // throws TypeError: input is not primitive
Assert that
inputis a primitive value.