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

Method IsPrototype

component/definition.go:72–74  ·  view source on GitHub ↗

IsPrototype returns true if the definition is a prototype-scoped component.

()

Source from the content-addressed store, hash-verified

70
71// IsPrototype returns true if the definition is a prototype-scoped component.
72func (d *Definition) IsPrototype() bool {
73 return d.scope == PrototypeScope
74}
75
76// Type returns the reflect.Type of the component the definition produces.
77func (d *Definition) Type() reflect.Type {

Callers 2

TestMakeDefinitionFunction · 0.80
ResolveMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestMakeDefinitionFunction · 0.64