OxL Reference

method Dur.isZero

True for the zero duration.

Example:

oxl✓ checked in CI
fn main() io {
  print("{(1s - 1s).isZero()}")
}
Output
true
pub(api) fn isZero() -> bool

Since. 1.0.0-beta

Returns

bool

Effects

none declared (pure unless the body says otherwise)

Defined in: std/time/time.oxl:606

See also