abs

Returns the absolute value of duration.

fun abs(duration: Duration): Duration