code: function createInstanceOfChecker(expectedClass) {
  
      return createChainableChecker(function (data, dataName, componentName, fullDataName) {
  
          var dataValue = data[dataName];
  
          if (dataValue instanceof expectedClass) {
              return;
          }
  
          var dataValueClassName = dataValue.constructor && dataValue.constructor.name
              ? dataValue.constructor.name
              : /* istanbul ignore next */ ANONYMOUS_CLASS_NAME;
  
          /* istanbul ignore next */
          var expectedClassName = expectedClass.name || ANONYMOUS_CLASS_NAME;
  
          throw new Error('[SAN ERROR] '
              + 'Invalid ' + componentName + ' data `' + fullDataName + '` of type'
              + '(' + dataValueClassName + ' supplied to ' + componentName + ', '
              + 'expected instance of ' + expectedClassName + ')'
          );
  
  
      });
  
  }
docs: 生成 instanceOf 检测器
  
  @param  {Function|Class} expectedClass 期待的类
  @return {Function}