Len returns the number of elements in the map.
()
| 68 | |
| 69 | // Len returns the number of elements in the map. |
| 70 | func (m *OrderedMap) Len() int { |
| 71 | return len(m.kv) |
| 72 | } |
| 73 | |
| 74 | // Keys returns all of the keys in the order they were inserted. If a key was |
| 75 | // replaced it will retain the same position. To ensure most recently set keys |
no outgoing calls