isSafeTimestamp
The isSafeTimestamp() function checks that a timestamp is between minTimestamp and maxTimestamp, the limits imposed by the JavaScript engine.
Interactive example
Syntax
typescript
function isSafeTimestamp(
input: number
): booleanParameters
input: Timestamp in milliseconds.
Return value
true if the value can be used by Date, otherwise false.
