// 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 (i Int) Map(f func(int) int) Int {
	if f == nil || !i.IsPresent() {
		return Int{}
	}
	return OfInt(f(i.value))
}
func ( i Int ) Map ( f func ( int ) int ) Int { if f == nil || ! i . IsPresent ( ) { return Int { } } return OfInt ( f ( i . value ) ) }
Map applies mapping function on optional value if it presents
Map applies mapping function on optional value if it presents