function isPrimitive(wat) {
  return wat === null || isParameterizedString(wat) || (typeof wat !== 'object' && typeof wat !== 'function');
}
Checks whether given value's type is an object literal, or a class instance.
{@link isPlainObject}.

@param wat A value to be checked.
@returns A boolean representing the result.