Len returns the number of pairs in the map.
()
| 415 | |
| 416 | // Len returns the number of pairs in the map. |
| 417 | func (m *Map) Len() int { |
| 418 | return len(m.data) / 2 |
| 419 | } |
| 420 | |
| 421 | // Convert allocates a new map and copies the content of m property to it, |
| 422 | // performing type conversions as possible, and then assigns the result to |
no outgoing calls
no test coverage detected