MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / Empty

Method Empty

pkg/generic_sync/map.go:365–367  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

363}
364
365func (m *MapOf[K, V]) Empty() bool {
366 return m.Count() == 0
367}
368
369func (m *MapOf[K, V]) ToMap() map[K]V {
370 ans := make(map[K]V)

Callers

nothing calls this directly

Calls 1

CountMethod · 0.95

Tested by

no test coverage detected