code: func (reg *typeRegistry) IsBaseTypeName(name TypeRef) bool {
  	if name != "" {
  		lower := strings.ToLower(string(name))
  		for _, n := range namesBaseType {
  			if lower == strings.ToLower(n) {
  				return true
  			}
  		}
  	}
  	return false
  }
docs: // 	IsBaseTypeName returns true if the type name is one of the base types