Predeclared constant
Go false constant
Untyped boolean constant representing falsity. It is also the zero value of bool, but false itself is a predeclared constant. Example output: 'true'.
Formal Syntax & Structure
go syntaxgo
falseWorking Example
Example Snippetgo
package main
import ( "fmt")
func main() { var active bool fmt.Println(active == false)}