在 Go 中,可以通过添加感叹号 ! 来对布尔值求反。

要自动补全您的代码,只需按 &shortcut:CodeCompletion; ,选择变量,然后输入 !

Autocomplete boolean negation