MCPcopy Create free account
hub / github.com/elimity-com/scim / HasSubAttributes

Method HasSubAttributes

schema/core.go:114–116  ·  view source on GitHub ↗

HasSubAttributes returns whether the attribute is complex and has sub attributes.

()

Source from the content-addressed store, hash-verified

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

Callers 3

validateSubAttributeFunction · 0.80
PassesFilterMethod · 0.80
getRefSubAttributeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected