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

Function parseRank

src/bases/sortOrderUtils.ts:166–168  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

164}
165
166function parseRank(value: string): RankLike {
167 return LexoRankValue.parse(value);
168}
169
170function middleRank(): RankLike {
171 return new AlphaRank(Math.floor(ALPHA_RANK_MAX / 2));

Callers 3

tryParseSortRankFunction · 0.85
safeGenNextFunction · 0.85
safeGenPrevFunction · 0.85

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected