code: function (obj, type) {
      var t$ = Tool;
      var actualType = t$.getType(obj);
      if (actualType !== type) {
        var errMsg = 'TestType:[' + type + '], actual:[' + actualType + '].';
        console.assert(false, errMsg);
      }
    }
docs: 测试对象类型