Standard library / reflect

reflect.Float32

Kind constant identifying 32-bit floating-point number. Expected stdout: 'true\n'.

Formal Syntax & Structure

go syntaxgo
const Float32 Kind = 13

Working Example

Example Snippetgo
package main
import (  "fmt"  "reflect")
func main() { fmt.Println(reflect.TypeOf(float32(0)).Kind() == reflect.Float32) }
Go Reference