subtractDurationChecked
subtractDurationChecked(
x,y):bigint
subtractDurationChecked performs subtraction with overflow detection of two durations in nanoseconds.
If the operation fails due to overflow the error is thrown.
Parameters
Section titled “Parameters”bigint
bigint
Returns
Section titled “Returns”bigint