// OrElse returns value from optional or provided value if optional is empty
OrElse returns value from optional or provided value if optional is empty
// OrElse returns value from optional or provided value if optional is empty
func (d Duration) OrElse(els time.Duration) time.Duration {
	if d.IsPresent() {
		return d.value
	}
	return els
}
func ( d Duration ) OrElse ( els time . Duration ) time . Duration { if d . IsPresent ( ) { return d . value } return els }
OrElse returns value from optional or provided value if optional is empty
OrElse returns value from optional or provided value if optional is empty