addDurationChecked
addDurationChecked(
x,y):bigint
addDurationChecked performs addition 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