MCPcopy
hub / github.com/aceld/zinx / IsEmpty

Method IsEmpty

zutils/shard_lock_map.go:296–298  ·  view source on GitHub ↗

IsEmpty checks if map is empty.

()

Source from the content-addressed store, hash-verified

294
295// IsEmpty checks if map is empty.
296func (slm ShardLockMaps) IsEmpty() bool {
297 return slm.Count() == 0
298}
299
300// MGet retrieves multiple elements from the map.
301func (slm ShardLockMaps) MGet(keys ...string) map[string]interface{} {

Callers 1

TestRemoveFunction · 0.95

Calls 1

CountMethod · 0.95

Tested by 1

TestRemoveFunction · 0.76