// NewTypeProperty returns a new 'type' property. Nil is returned if no types were provided.
NewTypeProperty returns a new 'type' property. Nil is returned if no types were provided.
// NewTypeProperty returns a new ' type ' property . Nil is returned if no types were provided .
func NewTypeProperty(t ...Type) *TypeProperty {
	if len(t) == 0 {
		return nil
	}
	return &TypeProperty{types: t}
}
func NewTypeProperty ( t ... Type ) * TypeProperty { if len ( t ) == 0 { return nil } return & TypeProperty { types : t } }
NewTypeProperty returns a new 'type' property.
NewTypeProperty returns a new ' type ' property .