// ToSeconds returns optional float64, built from value of optional duration
ToSeconds returns optional float64, built from value of optional duration
// ToSeconds returns optional float64 built from value of optional duration
func (d Duration) ToSeconds() Float64 {
	if d.IsPresent() {
		return OfFloat64(d.value.Seconds())
	}
	return Float64{}
}
func ( d Duration ) ToSeconds ( ) Float64 { if d . IsPresent ( ) { return OfFloat64 ( d . value . Seconds ( ) ) } return Float64 { } }
ToSeconds returns optional float64, built from value of optional duration
ToSeconds returns optional float64 built from value of optional duration