HasKey checks if given key is within the map
(key InstanceKey)
| 35 | |
| 36 | // HasKey checks if given key is within the map |
| 37 | func (ikm *InstanceKeyMap) HasKey(key InstanceKey) bool { |
| 38 | _, ok := (*ikm)[key] |
| 39 | return ok |
| 40 | } |
| 41 | |
| 42 | // GetInstanceKeys returns keys in this map in the form of an array |
| 43 | func (ikm *InstanceKeyMap) GetInstanceKeys() []InstanceKey { |
no outgoing calls
no test coverage detected