code: func IsType(t TestingT, expectedType interface{}, object interface{}, msgAndArgs ...interface{}) bool {
  	if h, ok := t.(tHelper); ok {
  		h.Helper()
  	}
  
  	if !ObjectsAreEqual(reflect.TypeOf(object), reflect.TypeOf(expectedType)) {
  		return Fail(t, fmt.Sprintf("Object expected to be of type %v, but was %v", reflect.TypeOf(expectedType), reflect.TypeOf(object)), msgAndArgs...)
  	}
  
  	return true
  }
docs: // IsType asserts that the specified objects are of the same type.