MCPcopy
hub / github.com/gopherjs/gopherjs / ChanOf

Function ChanOf

compiler/natives/src/reflect/reflect.go:187–189  ·  view source on GitHub ↗

gopherjs:replace

(dir ChanDir, t Type)

Source from the content-addressed store, hash-verified

185
186//gopherjs:replace
187func ChanOf(dir ChanDir, t Type) Type {
188 return toRType(abi.ReflectType(js.Global.Call("$chanType", jsType(t), dir == SendDir, dir == RecvDir)))
189}
190
191//gopherjs:replace
192func FuncOf(in, out []Type, variadic bool) Type {

Callers

nothing calls this directly

Calls 3

toRTypeFunction · 0.85
jsTypeFunction · 0.70
CallMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…