MCPcopy
hub / github.com/gopherjs/gopherjs / Type

Method Type

compiler/natives/src/reflect/reflect.go:1005–1010  ·  view source on GitHub ↗

gopherjs:replace

()

Source from the content-addressed store, hash-verified

1003
1004//gopherjs:replace
1005func (v Value) Type() Type {
1006 if v.flag != 0 && v.flag&flagMethod == 0 {
1007 return toRType(v.typ_)
1008 }
1009 return v.typeSlow()
1010}
1011
1012//gopherjs:replace
1013func (v Value) Cap() int {

Callers

nothing calls this directly

Calls 1

toRTypeFunction · 0.85

Tested by

no test coverage detected