Description

Compare will return a value indicating how this comparator compares with the provided comparator. A negative number indicates this comparator is less than the provided comparator, a 0 indicates equality, and a positive number indicates this comparator is greater than the provided comparator.

Compare is referenced in 1 repository

github.com/Workiva/go-datastructures