Standard library / reflect
reflect.UnsafePointer
Kind constant identifying unsafe.Pointer type; classification does not authorize pointer manipulation. Expected stdout: 'true\n'.
Formal Syntax & Structure
go syntaxgo
const UnsafePointer Kind = 26Working Example
Example Snippetgo
package main
import ( "fmt" "reflect" "unsafe")
func main() { fmt.Println(reflect.TypeFor[unsafe.Pointer]().Kind() == reflect.UnsafePointer) }