error-if-not-primitive (npm): Function triggers error if argument is not a primitive type
Keywords: error|message|not|primitive|type-checking|type|check|data-type