MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / frontendTimeSorter

Function frontendTimeSorter

frontend/packages/common/src/utils/dataTransfer.ts:21–23  ·  view source on GitHub ↗
(a: { [k: string]: string }, b: { [k: string]: string }, field: string)

Source from the content-addressed store, hash-verified

19}
20
21export const frontendTimeSorter = (a: { [k: string]: string }, b: { [k: string]: string }, field: string) => {
22 return new Date(a[field]).getTime() - new Date(b[field]).getTime()
23}

Callers 5

getOpenApiListFunction · 0.90
const.tsxFile · 0.90
const.tsxFile · 0.90
const.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected