MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / compareDisplaySortStrings

Function compareDisplaySortStrings

src/bases/sortOrderUtils.ts:141–149  ·  view source on GitHub ↗
(
	left: string,
	right: string,
	direction: SortDirection
)

Source from the content-addressed store, hash-verified

139}
140
141function compareDisplaySortStrings(
142 left: string,
143 right: string,
144 direction: SortDirection
145): number {
146 return direction === "asc"
147 ? compareRankStringsForBases(left, right)
148 : compareRankStringsForBases(right, left);
149}
150
151function isCandidateInDisplayPosition(
152 candidate: string,

Callers 1

Calls 1

Tested by

no test coverage detected