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