// String returns the string representation of the type property.
String returns the string representation of the type property.
// String returns the string representation of the type property .
func (p *TypeProperty) String() string {
	if p == nil || len(p.types) == 0 {
		return ""
	}
	if len(p.types) == 1 {
		return string(p.types[0])
	}
	return fmt.Sprintf("%s", p.types)
}
func ( p * TypeProperty ) String ( ) string { if p == nil || len ( p . types ) == 0 { return " " } if len ( p . types ) == 1 { return string ( p . types [ 0 ] ) } return fmt . Sprintf ( " " , p . types ) }
String returns the string representation of the type property.
String returns the string representation of the type property .