Why does ~ operator is not supported in Golang

Why does ~ (NOT)operator is not supported in Golang?
What is the alternative of NOT operator in golang?

The NOT operator is the exclamation mark.
https://golang.org/ref/spec#Logical_operators

And the bitwise NOT is ^

1 Like

Thanks @skillian

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.