IsRelationReferenceExist checks if a relation reference exists for the given key.
(name string)
| 204 | |
| 205 | // IsRelationReferenceExist checks if a relation reference exists for the given key. |
| 206 | func (refs *References) IsRelationReferenceExist(name string) bool { |
| 207 | if _, ok := refs.relationReferences[name]; ok { |
| 208 | return true |
| 209 | } |
| 210 | return false |
| 211 | } |
| 212 | |
| 213 | // IsAttributeReferenceExist checks if an attribute reference exists for the given key. |
| 214 | func (refs *References) IsAttributeReferenceExist(name string) bool { |
no outgoing calls
no test coverage detected