// ValueOrZero will return the value of p if it is valid, or a newly constructed
// zero-value types.SFPolygon otherwise.
ValueOrZero will return the value of p if it is valid, or a newly constructed
zero-value types.SFPolygon otherwise.
// ValueOrZero will return the value of p if it is valid or a newly constructed // zero - value types . SFPolygon otherwise .
func (p SFPolygon) ValueOrZero() types.SFPolygon {
	if !p.Valid {
		return types.SFPolygon{}
	}
	return p.Polygon
}
func ( p SFPolygon ) ValueOrZero ( ) types . SFPolygon { if ! p . Valid { return types . SFPolygon { } } return p . Polygon }
ValueOrZero will return the value of p if it is valid, or a newly constructed
zero-value types.SFPolygon otherwise.
ValueOrZero will return the value of p if it is valid or a newly constructed zero - value types . SFPolygon otherwise .