Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
210
function
searchSortDate(item: SearchIndexItem) {
211
return
item.releaseDate ?? item.updated;
212
}
213
214
function
formatCompactNumber(value?: number) {
215
if
(value === undefined)
return
undefined;
Callers
1
rankSearchItems
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected