2808 explained code solutions for 75 technologies


golangConvert bool to string


package main
import "strconv"

func main() {
  str := strconv.FormatBool(false))
}ctrl + c
str :=

will contain string representation of given boolean value

FormatBool

converts given boolean to string

false

sample boolean to convert