Commit Graph

1 Commits (0f4c9c0ecb133f2e7e3df2626e2a6a114d6dc251)

Author SHA1 Message Date
Joe Tsai ecc8035f73
types/bools: add Compare to compare boolean values (#13792)
The bools.Compare function compares boolean values
by reporting -1, 0, +1 for ordering so that it can be easily
used with slices.SortFunc.

Updates #cleanup
Updates tailscale/corp#11038

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2 weeks ago