OxL Reference

method Dur.micros

Whole microseconds (truncated).

Example:

oxl✓ checked in CI
fn main() io {
  print("{3ms.micros()}")
}
Output
3000
pub(api) fn micros() -> i64

Since. 1.0.0-beta

Returns

i64

Effects

none declared (pure unless the body says otherwise)

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

See also