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

Method Type

component/constructor.go:139–141  ·  view source on GitHub ↗

Type returns the type of the argument.

()

Source from the content-addressed store, hash-verified

137
138// Type returns the type of the argument.
139func (a Arg) Type() reflect.Type {
140 return a.typ
141}
142
143// extractConstructorArgs returns the list of argument metadata for a given function type.
144func extractConstructorArgs(fnType reflect.Type) []Arg {

Callers 15

TestRegisterFunction · 0.45
LoadFunction · 0.45
ListOfFunction · 0.45
TestMakeDefinitionFunction · 0.45
TestCreateConstructorFunction · 0.45
DefinitionsOfMethod · 0.45
CanResolveTypeMethod · 0.45
resolveArgumentsMethod · 0.45
bindSliceMethod · 0.45
bindMapMethod · 0.45
bindStructMethod · 0.45
setValueMethod · 0.45

Calls

no outgoing calls

Tested by 3

TestRegisterFunction · 0.36
TestMakeDefinitionFunction · 0.36
TestCreateConstructorFunction · 0.36