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