MCPcopy Create free account
hub / github.com/anomalyco/models.dev / searchSortDate

Function searchSortDate

packages/web/src/index.ts:210–212  ·  view source on GitHub ↗
(item: SearchIndexItem)

Source from the content-addressed store, hash-verified

208}
209
210function searchSortDate(item: SearchIndexItem) {
211 return item.releaseDate ?? item.updated;
212}
213
214function formatCompactNumber(value?: number) {
215 if (value === undefined) return undefined;

Callers 1

rankSearchItemsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected