negateDurationChecked
negateDurationChecked(
x):bigint
negateDurationChecked performs negation with overflow detection of a duration in nanoseconds.
If the operation fails due to overflow the error is thrown.
Parameters
Section titled “Parameters”bigint
Returns
Section titled “Returns”bigint