Exists returns `true` if the attribute with the given key exists in the attributes map.
(key string)
| 35 | // Exists returns `true` if the attribute with the given key |
| 36 | // exists in the attributes map. |
| 37 | func (attributes Attributes) Exists(key string) bool { |
| 38 | _, exists := attributes[key] |
| 39 | return exists |
| 40 | } |
| 41 | |
| 42 | type convertPrimitiveFunc func(attributes Attributes, key string, attributeType string) (interface{}, error) |
| 43 |
no outgoing calls
no test coverage detected