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

Method Type

component/definition.go:77–79  ·  view source on GitHub ↗

Type returns the reflect.Type of the component the definition produces.

()

Source from the content-addressed store, hash-verified

75
76// Type returns the reflect.Type of the component the definition produces.
77func (d *Definition) Type() reflect.Type {
78 return d.constructor.OutType()
79}
80
81// Constructor returns the constructor metadata used to build the component.
82func (d *Definition) Constructor() Constructor {

Callers 1

WithQualifierForFunction · 0.45

Calls 1

OutTypeMethod · 0.80

Tested by

no test coverage detected