IsEmpty returns true if there are no items available.
()
| 46 | |
| 47 | // IsEmpty returns true if there are no items available. |
| 48 | func (m *Map) IsEmpty() bool { |
| 49 | return len(m.keys) == 0 |
| 50 | } |
| 51 | |
| 52 | // Add adds some keys to the hash. |
| 53 | func (m *Map) Add(keys ...string) { |