method Dur.isZero
True for the zero duration.
Example:
fn main() io {
print("{(1s - 1s).isZero()}")
}Output
true
pub(api) fn isZero() -> boolSince. 1.0.0-beta
Returns
bool
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:606