mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-14 15:40:06 +00:00
feat(*): recreate package with new name
This commit is contained in:
9
src/utils/compareTimestamps.ts
Normal file
9
src/utils/compareTimestamps.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { SASjsRequest } from "../types/SASjsRequest";
|
||||
|
||||
/**
|
||||
* Comparator for SASjs request timestamps
|
||||
*
|
||||
*/
|
||||
export const compareTimestamps = (a: SASjsRequest, b: SASjsRequest) => {
|
||||
return b.timestamp.getTime() - a.timestamp.getTime();
|
||||
};
|
||||
Reference in New Issue
Block a user