abs

fun abs(duration: Duration): Duration

Returns the absolute value of a duration.