// 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 (m Mixed) Map(f func(interface{}) interface{}) Mixed {
	if f != nil && m.IsPresent() {
		return OfMixed(f(m.mixed))
	}
	return Mixed{}
}
func ( m Mixed ) Map ( f func ( interface { } ) interface { } ) Mixed { if f != nil && m . IsPresent ( ) { return OfMixed ( f ( m . mixed ) ) } return Mixed { } }
Map applies mapping function on optional value if it presents
Map applies mapping function on optional value if it presents