MCPcopy Create free account
hub / github.com/FloatTech/ZeroBot-Plugin-Playground / Less

Method Less

plugin/vote/vote.go:192–192  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

190
191func (p pairlist) Len() int { return len(p) }
192func (p pairlist) Less(i, j int) bool { return p[i].Value < p[j].Value }
193func (p pairlist) Swap(i, j int) { p[i], p[j] = p[j], p[i] }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected