On Thu, Oct 8, 2020, 17:40 [email protected] <[email protected]> wrote:

> 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?
>

Yes.



>
>
> 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
> <https://groups.google.com/d/msgid/golang-nuts/8d564e38-250c-4a31-a706-7be82f6ac61cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAA40n-VsA-VBxTDEwEesV240%3DZ7do4H6S9K-W7_zvS7sh3LYtg%40mail.gmail.com.

Reply via email to