MCPcopy
hub / github.com/gopherjs/gopherjs / JsPtrTo

Method JsPtrTo

compiler/natives/src/internal/abi/type.go:231–233  ·  view source on GitHub ↗

gopherjs:new

()

Source from the content-addressed store, hash-verified

229
230//gopherjs:new
231func (typ *Type) JsPtrTo() *js.Object {
232 return typ.PtrTo().JsType()
233}
234
235//gopherjs:new Shared by reflect and reflectlite rtypes
236func (t *Type) String() string {

Callers 9

makeValueFunction · 0.80
mapaccessFunction · 0.80
mapiterkeyFunction · 0.80
mapiterelemFunction · 0.80
FieldMethod · 0.80
IndexMethod · 0.80
UnsafeNewFunction · 0.80
FieldMethod · 0.80
makeValueFunction · 0.80

Calls 2

PtrToMethod · 0.95
JsTypeMethod · 0.80

Tested by 1

FieldMethod · 0.64