Standard library / reflect
reflect.Complex64
Kind constant identifying complex number with float32 components. Expected stdout: 'true\n'.
Formal Syntax & Structure
go syntaxgo
const Complex64 Kind = 15Working Example
Example Snippetgo
package main
import ( "fmt" "reflect")
func main() { fmt.Println(reflect.TypeOf(complex64(0)).Kind() == reflect.Complex64) }