code: function isPrimitive (val) {
    if (val === null || val === undefined || val === Infinity || isLiterallyNaN(val)) {
      return true
    }
    return primitives.some(function (Class) {
      return val === Class || directInstanceOf(val, Class)
    })
  }
docs: returns if a value is an instance of a primitive type
  @param  {*}  thing  value to check if is primitive
  @return {Boolean}   true if val is primitive, else false