It looks the answer should be yes, as Go spec says:

   Logical operators apply to boolean 
<https://golang.org/ref/spec#Boolean_types> values and yield a result of 
the same type as the operands. The right operand is evaluated 
conditionally. 

Is my understanding right?



On Thursday, October 8, 2020 at 10:58:48 AM UTC-4 [email protected] wrote:

>
> .

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/8d564e38-250c-4a31-a706-7be82f6ac61cn%40googlegroups.com.

Reply via email to