abs

Returns the absolute value of a duration.

  1. Duration abs(Duration duration)
  2. TickDuration abs(TickDuration duration)
    abs
    @safe pure nothrow @nogc
Suggestion Box / Bug Report