DurationExtension extension
Extension methods for Duration.
- on
Properties
- isLive → bool
-
Available on Duration, provided by the DurationExtension extension
Whether this Duration marks a live stream.no setter
Methods
-
clamp(
Duration min, Duration max) → Duration -
Available on Duration, provided by the DurationExtension extension
Returns clamp of Duration betweenminandmax. -
label(
{Duration? reference}) → String -
Available on Duration, provided by the DurationExtension extension
Returns a String representation of Duration.