Function: normalizeTimestampValue()
function normalizeTimestampValue(value: unknown): number | undefined;
Defined in: electron/services/monitoring/shared/monitorServiceHelpers.ts:322
Normalizes a timestamp-like value into a Unix epoch millisecond value.
Parameters
value
unknown
Candidate timestamp expressed as a Date, seconds, or an ISO/string representation.
Returns
number | undefined
Epoch milliseconds when the value can be interpreted as a timestamp;
otherwise undefined.