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