IsEntityReferenceExist checks if an entity reference exists for the given name.
(name string)
| 196 | |
| 197 | // IsEntityReferenceExist checks if an entity reference exists for the given name. |
| 198 | func (refs *References) IsEntityReferenceExist(name string) bool { |
| 199 | if _, ok := refs.entityReferences[name]; ok { |
| 200 | return ok |
| 201 | } |
| 202 | return false |
| 203 | } |
| 204 | |
| 205 | // IsRelationReferenceExist checks if a relation reference exists for the given key. |
| 206 | func (refs *References) IsRelationReferenceExist(name string) bool { |
no outgoing calls
no test coverage detected