// MapToFloat64 applies mapping function on optional value if it presents
MapToFloat64 applies mapping function on optional value if it presents
// MapToFloat64 applies mapping function on optional value if it presents
func (b Bool) MapToFloat64(f func(bool) float64) Float64 {
	if f == nil || !b.IsPresent() {
		return Float64{}
	}
	return OfFloat64(f(b.value))
}
func ( b Bool ) MapToFloat64 ( f func ( bool ) float64 ) Float64 { if f == nil || ! b . IsPresent ( ) { return Float64 { } } return OfFloat64 ( f ( b . value ) ) }
MapToFloat64 applies mapping function on optional value if it presents
MapToFloat64 applies mapping function on optional value if it presents