// MapToBool applies mapping function on optional value if it presents
MapToBool applies mapping function on optional value if it presents
// MapToBool applies mapping function on optional value if it presents
func (m Mixed) MapToBool(f func(interface{}) bool) Bool {
	if f != nil && m.IsPresent() {
		return OfBool(f(m.mixed))
	}
	return Bool{}
}
func ( m Mixed ) MapToBool ( f func ( interface { } ) bool ) Bool { if f != nil && m . IsPresent ( ) { return OfBool ( f ( m . mixed ) ) } return Bool { } }
MapToBool applies mapping function on optional value if it presents
MapToBool applies mapping function on optional value if it presents