// Get returns value from optional.
// Invocation on empty optional will cause panic: invalid memory address or nil pointer dereference
// Perform .IsPresent check or use .OrElse to avoid manic
Get returns value from optional.
Invocation on empty optional will cause panic: invalid memory address or nil pointer dereference
Perform .IsPresent check or use .OrElse to avoid manic
// Get returns value from optional . // Invocation on empty optional will cause panic : invalid memory address or nil pointer dereference // Perform . IsPresent check or use . OrElse to avoid manic
func (i Int) Get() int {
	if !i.IsPresent() {
		panic("empty optional.Int value")
	}
	return i.value
}
func ( i Int ) Get ( ) int { if ! i . IsPresent ( ) { panic ( " " ) } return i . value }
Get returns value from optional.
Get returns value from optional .