MCPcopy
hub / github.com/gopherjs/gopherjs / rtypeOf

Function rtypeOf

compiler/natives/src/reflect/reflect.go:92–94  ·  view source on GitHub ↗

gopherjs:replace

(i any)

Source from the content-addressed store, hash-verified

90
91//gopherjs:replace
92func rtypeOf(i any) *abi.Type {
93 return abi.ReflectType(js.InternalObject(i).Get("constructor"))
94}
95
96//gopherjs:purge
97func addReflectOff(ptr unsafe.Pointer) int32

Callers 2

TypeOfFunction · 0.85
ValueOfFunction · 0.85

Calls 2

InternalObjectFunction · 0.92
GetMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…