MCPcopy Create free account
hub / github.com/codnect/procyon / OutType

Method OutType

component/constructor.go:58–60  ·  view source on GitHub ↗

OutType returns the type of the constructor function's output.

()

Source from the content-addressed store, hash-verified

56
57// OutType returns the type of the constructor function's output.
58func (f Constructor) OutType() reflect.Type {
59 return f.fnType.Out(0)
60}
61
62// Args returns a copy of the arguments of the constructor function.
63func (f Constructor) Args() []Arg {

Callers 4

TypeMethod · 0.80
MakeDefinitionFunction · 0.80
TestMakeDefinitionFunction · 0.80
TestCreateConstructorFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestMakeDefinitionFunction · 0.64
TestCreateConstructorFunction · 0.64