Skip to content
Kamas' Manual
Search
⌘
Ctrl
K
Main Navigation
Home
Golang
Node.js
Markdown
Appearance
Menu
Return to top
On this page
reflect
reflect.TypeOf()
Get the data type of a value:
go
var
s
=
"some string"
reflect.
TypeOf
(s)
1
2