HasSubAttributes returns whether the attribute is complex and has sub attributes.
()
| 112 | |
| 113 | // HasSubAttributes returns whether the attribute is complex and has sub attributes. |
| 114 | func (a CoreAttribute) HasSubAttributes() bool { |
| 115 | return a.typ == attributeDataTypeComplex && len(a.subAttributes) != 0 |
| 116 | } |
| 117 | |
| 118 | // MultiValued returns whether the attribute is multi valued. |
| 119 | func (a CoreAttribute) MultiValued() bool { |
no outgoing calls
no test coverage detected